lib-font
Version:
A JS based OpenType font inspector
59 lines (58 loc) • 1.85 kB
JSON
{
"name": "lib-font",
"version": "3.0.0",
"description": "A JS based OpenType font inspector",
"main": "./lib-font.js",
"exports": "./lib-font.js",
"type": "module",
"author": "Pomax",
"license": "LICENSE.md",
"directories": {
"lib": "lib",
"src": "src"
},
"scripts": {
"bundle": "run-s rollup terser",
"clean": "prettier --write \"lib-font.js\" \"src/**/*.js\"",
"rollup": "rollup -i lib-font.js -n Font -o lib-font.browser.js --inlineDynamicImports --external fs,zlib",
"start": "npm test",
"terser": "terser lib-font.browser.js -o lib-font.browser.js",
"test:browser": "run-p test:server test:playwright",
"test:cleanup": "rm -rf ./test-results",
"test:node:jest": "npm run test:jest -- ./testing/node/",
"test:node:native": "node --test \"./testing/native-node/**/*.js\"",
"test:jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --verbose=false",
"test:manual": "http-server -o testing/manual/index.html",
"test:playwright": "playwright test ./testing/browser/playwright.test.js",
"test:server": "node ./testing/browser/server.js",
"test": "run-s clean test:node:jest test:node:native bundle test:browser test:cleanup"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Pomax/lib-font.git"
},
"keywords": [
"opentype",
"font",
"webfont",
"parse",
"inspect",
"debug"
],
"bugs": {
"url": "https://github.com/Pomax/lib-font/issues"
},
"homepage": "https://github.com/Pomax/lib-font#readme",
"devDependencies": {
"@playwright/test": "^1.56.1",
"cross-env": "^7.0.2",
"express": "^4.17.1",
"http-server": "^0.12.3",
"jest": "^26.6.3",
"npm-run-all": "^4.1.5",
"open-cli": "^6.0.1",
"prettier": "^2.1.1",
"rollup": "^2.53.0",
"terser": "^5.7.1"
}
}