1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-02-23 00:52:29 +01:00
BezierInfo-2/package.json
2020-08-23 13:33:00 -07:00

58 lines
1.8 KiB
JSON

{
"name": "bezierinfo",
"type": "module",
"version": "3.0.0",
"description": "pomax.github.io/bezierinfo",
"author": "Pomax",
"license": "SEE LICENSE IN LICENSE.md",
"homepage": "https://pomax.github.io/bezierinfo",
"repository": {
"type": "git",
"url": "git+https://github.com/Pomax/BezierInfo-2.git"
},
"bugs": {
"url": "https://github.com/Pomax/BezierInfo-2/issues"
},
"scripts": {
"start": "cls && run-s clean time lint:* build pretty time && rm -f .timing",
"test": "run-s start && run-p watch server browser",
"------": "--- note that due to github's naming policy, the public dir is called 'docs' rather than 'public' ---",
"browser": "open-cli http://localhost:8000",
"build": "node ./src/build.js",
"clean": "rm -f .timing && rm -rf ./temp",
"lint:tools": "prettier ./src/**/*.js --write",
"lint:lib": "prettier ./docs/js/**/*.js --write",
"pretty": "echo not running `prettier ./docs/**/index.html --write` as it increases filesize by 30%",
"server": "cd docs && http-server -p 8000 --cors",
"watch": "run-p watch:*",
"watch:chapters": "chokidar \"./docs/chapters/**/*.*\" -c \"npm run build\"",
"watch:customelement": "chokidar \"./docs/js/custom-element/**/*.js\" -c \"npm run build\"",
"watch:src": "chokidar \"./src/**/*.*\" -c \"npm run build\"",
"time": "node ./src/mark.js"
},
"keywords": [
"Bezier",
"curves",
"math",
"maths",
"tutorial",
"article",
"primer",
"book",
"ebook"
],
"devDependencies": {
"canvas": "git://github.com/Automattic/node-canvas#master",
"chokidar-cli": "^2.1.0",
"fs-extra": "^9.0.1",
"glob": "^7.1.6",
"http-server": "^0.12.3",
"marked": "^1.1.1",
"npm-run-all": "^4.1.5",
"nunjucks": "^3.2.2",
"open-cli": "^6.0.1",
"prettier": "^2.0.5",
"svgo": "^1.3.2"
}
}