forked from nfroidure/ttf2woff2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
62 lines (62 loc) · 2.11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "ttf2woff2",
"version": "3.0.0",
"description": "Convert TTF files to WOFF2 ones.",
"main": "src/index.js",
"browser": "jssrc/index.js",
"engines": {
"node": ">= 4.0.0"
},
"directories": {
"test": "tests"
},
"scripts": {
"test": "mocha tests/*.mocha.js",
"coveralls": "istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"cover": "istanbul cover --report html _mocha -- tests/*.mocha.js -R spec -t 5000",
"cli": "env NPM_RUN_CLI=1",
"configure": "node-gyp configure",
"lint": "eslint src/*.js tests/*.src jssrc/index.js",
"preversion": "npm run lint && npm test",
"make": "node-gyp build",
"emcc": "miniquery -p \"targets.#.sources.#\" ./binding.gyp | grep -v \"csrc/addon.cc\" | xargs emcc --bind -o jssrc/ttf2woff2.js -O3 --memory-init-file 0 -s \"TOTAL_MEMORY=536870912\" -s \"ALLOW_MEMORY_GROWTH=1\" --post-js jssrc/post.js csrc/fallback.cc",
"emcc-debug": "miniquery -p \"targets.#.sources.#\" ./binding.gyp | grep -v \"csrc/addon.cc\" | xargs emcc --bind -o jssrc/ttf2woff2.js -s \"ALLOW_MEMORY_GROWTH=1\" -s \"ASSERTIONS=1\" --post-js jssrc/post.js csrc/fallback.cc",
"install": "((node-gyp configure && node-gyp build) > builderror.log) || (exit 0)"
},
"repository": {
"type": "git",
"url": "[email protected]:nfroidure/ttf2woff2.git"
},
"keywords": [
"ttf",
"woff2",
"fonts"
],
"author": "Nicolas Froidure",
"license": "MIT",
"bugs": {
"url": "https://github.com/nfroidure/ttf2woff2/issues"
},
"homepage": "https://github.com/nfroidure/ttf2woff2",
"dependencies": {
"bindings": "^1.5.0",
"bufferstreams": "^3.0.0",
"nan": "^2.14.0",
"node-gyp": "^6.0.1"
},
"devDependencies": {
"coveralls": "^3.0.1",
"eslint": "^4.19.1",
"eslint-config-simplifield": "^7.1.0",
"istanbul": "^0.4.5",
"miniquery": "^1.1.2",
"mocha": "^5.2.0",
"metapak": "^3.1.6",
"metapak-nfroidure": "9.6.4",
"mocha-lcov-reporter": "^1.3.0"
},
"bin": {
"ttf2woff2": "bin/ttf2woff2.js"
},
"gypfile": true
}