88 lines
2.9 KiB
JSON
88 lines
2.9 KiB
JSON
{
|
|
"_from": "ttf2woff2@3.0.0",
|
|
"_id": "ttf2woff2@3.0.0",
|
|
"_inBundle": false,
|
|
"_integrity": "sha1-r7ZKYD9i85ZoC9D8M7MS3gyILuY=",
|
|
"_location": "/ttf2woff2",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "ttf2woff2@3.0.0",
|
|
"name": "ttf2woff2",
|
|
"escapedName": "ttf2woff2",
|
|
"rawSpec": "3.0.0",
|
|
"saveSpec": null,
|
|
"fetchSpec": "3.0.0"
|
|
},
|
|
"_requiredBy": [
|
|
"/fontmin"
|
|
],
|
|
"_resolved": "https://registry.npm.taobao.org/ttf2woff2/download/ttf2woff2-3.0.0.tgz",
|
|
"_shasum": "afb64a603f62f396680bd0fc33b312de0c882ee6",
|
|
"_spec": "ttf2woff2@3.0.0",
|
|
"_where": "D:\\workspace\\plugin\\mini_font\\packages\\mini_font\\publish\\mini_font\\node_modules\\fontmin",
|
|
"author": {
|
|
"name": "Nicolas Froidure"
|
|
},
|
|
"bin": {
|
|
"ttf2woff2": "bin/ttf2woff2.js"
|
|
},
|
|
"browser": "jssrc/index.js",
|
|
"bugs": {
|
|
"url": "https://github.com/nfroidure/ttf2woff2/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"dependencies": {
|
|
"bindings": "^1.3.0",
|
|
"bufferstreams": "^2.0.1",
|
|
"nan": "^2.10.0",
|
|
"node-gyp": "^4.0.0"
|
|
},
|
|
"deprecated": false,
|
|
"description": "Convert TTF files to WOFF2 ones.",
|
|
"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",
|
|
"mocha-lcov-reporter": "^1.3.0"
|
|
},
|
|
"directories": {
|
|
"test": "tests"
|
|
},
|
|
"engines": {
|
|
"node": ">= 4.0.0"
|
|
},
|
|
"gypfile": true,
|
|
"homepage": "https://github.com/nfroidure/ttf2woff2",
|
|
"keywords": [
|
|
"ttf",
|
|
"woff2",
|
|
"fonts"
|
|
],
|
|
"license": "MIT",
|
|
"main": "src/index.js",
|
|
"name": "ttf2woff2",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/nfroidure/ttf2woff2.git"
|
|
},
|
|
"scripts": {
|
|
"cli": "env NPM_RUN_CLI=1",
|
|
"configure": "node-gyp configure",
|
|
"cover": "istanbul cover --report html _mocha -- tests/*.mocha.js -R spec -t 5000",
|
|
"coveralls": "istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
|
|
"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)",
|
|
"lint": "eslint src/*.js tests/*.src jssrc/index.js",
|
|
"make": "node-gyp build",
|
|
"preversion": "npm run lint && npm test",
|
|
"test": "mocha tests/*.mocha.js"
|
|
},
|
|
"version": "3.0.0"
|
|
}
|