forked from nfroidure/ttf2woff2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 2.05 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
{
"name": "ttf2woff2",
"version": "2.0.3",
"description": "Convert TTF files to WOFF2 ones.",
"main": "src/index.js",
"browser": "jssrc/index.js",
"engines": {
"node": ">=0.12"
},
"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": "git@github.com: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.2.1",
"bufferstreams": "^1.1.0",
"nan": "^2.1.0",
"node-gyp": "^3.1.0"
},
"devDependencies": {
"coveralls": "^2.11.4",
"eslint": "^1.10.1",
"eslint-config-simplifield": "^1.1.0",
"istanbul": "^0.4.0",
"miniquery": "^1.1.1",
"mocha": "^2.3.4",
"mocha-lcov-reporter": "^1.0.0"
},
"bin": {
"ttf2woff2": "bin/ttf2woff2.js"
},
"gypfile": true
}