2015-12-20 15:19:50 -08:00
|
|
|
{
|
|
|
|
"name": "bezierinfo",
|
2020-08-05 20:57:43 -07:00
|
|
|
"type": "module",
|
2020-08-03 18:27:33 -07:00
|
|
|
"version": "3.0.0",
|
2015-12-20 15:19:50 -08:00
|
|
|
"description": "pomax.github.io/bezierinfo",
|
2017-04-15 12:21:12 -07:00
|
|
|
"author": "Pomax",
|
|
|
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
|
|
"homepage": "https://pomax.github.io/bezierinfo",
|
2015-12-20 15:19:50 -08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-08-09 17:16:50 -07:00
|
|
|
"url": "git+https://github.com/Pomax/BezierInfo-2.git"
|
2015-12-20 15:19:50 -08:00
|
|
|
},
|
2017-04-15 12:21:12 -07:00
|
|
|
"bugs": {
|
2020-08-09 17:16:50 -07:00
|
|
|
"url": "https://github.com/Pomax/BezierInfo-2/issues"
|
2017-04-15 12:21:12 -07:00
|
|
|
},
|
2020-08-04 11:10:57 -07:00
|
|
|
"scripts": {
|
2020-08-26 21:56:58 -07:00
|
|
|
"start": "run-s clean time lint:* build pretty time clean",
|
2020-08-20 12:49:26 -07:00
|
|
|
"test": "run-s start && run-p watch server browser",
|
2020-08-21 15:32:49 -07:00
|
|
|
"------": "--- note that due to github's naming policy, the public dir is called 'docs' rather than 'public' ---",
|
2020-08-09 17:16:50 -07:00
|
|
|
"browser": "open-cli http://localhost:8000",
|
2020-08-20 12:49:26 -07:00
|
|
|
"build": "node ./src/build.js",
|
2020-08-21 15:32:49 -07:00
|
|
|
"clean": "rm -f .timing && rm -rf ./temp",
|
2020-08-23 19:00:50 -07:00
|
|
|
"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%",
|
2020-08-20 13:01:32 -07:00
|
|
|
"server": "cd docs && http-server -p 8000 --cors",
|
2020-08-17 08:02:29 -07:00
|
|
|
"watch": "run-p watch:*",
|
2020-08-21 15:32:49 -07:00
|
|
|
"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\"",
|
2020-08-20 12:49:26 -07:00
|
|
|
"time": "node ./src/mark.js"
|
2020-08-04 11:10:57 -07:00
|
|
|
},
|
2015-12-20 15:19:50 -08:00
|
|
|
"keywords": [
|
|
|
|
"Bezier",
|
|
|
|
"curves",
|
2020-08-21 15:32:49 -07:00
|
|
|
"math",
|
|
|
|
"maths",
|
2015-12-20 15:19:50 -08:00
|
|
|
"tutorial",
|
|
|
|
"article",
|
2017-04-15 12:21:12 -07:00
|
|
|
"primer",
|
2020-08-21 15:32:49 -07:00
|
|
|
"book",
|
2017-04-15 12:21:12 -07:00
|
|
|
"ebook"
|
2015-12-20 15:19:50 -08:00
|
|
|
],
|
|
|
|
"devDependencies": {
|
2020-08-21 23:39:36 -07:00
|
|
|
"canvas": "git://github.com/Automattic/node-canvas#master",
|
2020-08-16 08:52:50 -07:00
|
|
|
"chokidar-cli": "^2.1.0",
|
2020-08-03 18:27:33 -07:00
|
|
|
"fs-extra": "^9.0.1",
|
|
|
|
"glob": "^7.1.6",
|
2020-08-05 22:25:07 -07:00
|
|
|
"http-server": "^0.12.3",
|
2020-08-03 18:27:33 -07:00
|
|
|
"marked": "^1.1.1",
|
2020-08-05 10:52:05 -07:00
|
|
|
"npm-run-all": "^4.1.5",
|
2020-08-03 18:27:33 -07:00
|
|
|
"nunjucks": "^3.2.2",
|
2020-08-05 10:52:05 -07:00
|
|
|
"open-cli": "^6.0.1",
|
2020-08-03 18:27:33 -07:00
|
|
|
"prettier": "^2.0.5",
|
|
|
|
"svgo": "^1.3.2"
|
2015-12-20 15:19:50 -08:00
|
|
|
}
|
|
|
|
}
|