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-09-18 12:09:26 -07:00
|
|
|
"start": "run-s clean:* time lint:* build time clean:temp",
|
2020-08-20 12:49:26 -07:00
|
|
|
"test": "run-s start && run-p watch server browser",
|
2020-09-18 22:05:46 -07:00
|
|
|
"deploy": "run-s regenerate copy",
|
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-09-18 12:09:26 -07:00
|
|
|
"clean:temp": "rm -f .timing && rm -rf ./temp",
|
|
|
|
"clean:news": "rm -f ./docs/news/*.html",
|
2020-09-11 16:30:05 -07:00
|
|
|
"polish": "run-s pretty link-checker",
|
2020-09-18 11:37:39 -07:00
|
|
|
"regenerate": "run-s start polish",
|
2020-09-18 22:05:46 -07:00
|
|
|
"copy": "mkdir _ && mv ../bezierinfo/.git _ && rm -rf ../bezierinfo && cp -r ./docs/. ../bezierinfo && mv _/.git ../bezierinfo && rm -rf _",
|
2020-09-17 22:18:08 -07:00
|
|
|
"lint:tools": "prettier \"./src/**/*.js\" --print-width 150 --write",
|
|
|
|
"lint:lib": "prettier \"./docs/js/**/*.js\" --print-width 150 --write",
|
|
|
|
"lint:css": "prettier \"./docs/**/*.css\" --print-width 150 --write",
|
|
|
|
"link-checker": "link-checker \"docs/index.html\" --allow-hash-href --url-ignore \"(ja-JP|zh-CN|legendre).*\" --ignore-error-exit",
|
|
|
|
"pretty": "prettier \"./docs/{!(legendre-gauss),**/*}.html\" --use-tabs --print-width 150 --write",
|
2020-08-27 11:36:17 -07:00
|
|
|
"server": "cd docs && http-server -e -p 8000 --cors",
|
2020-08-17 08:02:29 -07:00
|
|
|
"watch": "run-p watch:*",
|
2020-09-17 22:18:08 -07:00
|
|
|
"watch:chapters": "chokidar \"./docs/chapters/**/*.(md|js)\" -c \"npm run build\"",
|
|
|
|
"watch:news": "chokidar \"./docs/news/**/*.md\" -c \"npm run build\"",
|
2020-08-21 15:32:49 -07:00
|
|
|
"watch:customelement": "chokidar \"./docs/js/custom-element/**/*.js\" -c \"npm run build\"",
|
|
|
|
"watch:src": "chokidar \"./src/**/*.*\" -c \"npm run build\"",
|
2020-09-11 16:30:05 -07:00
|
|
|
"svgo": "svgo",
|
|
|
|
"svgo:pretty": "node ./src/svgo-pretty.js",
|
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
|
|
|
],
|
2020-09-11 16:30:05 -07:00
|
|
|
"------": "There are a number of personal forks here, as they include patches not landed upstream yet",
|
2015-12-20 15:19:50 -08:00
|
|
|
"devDependencies": {
|
2020-09-11 16:30:05 -07:00
|
|
|
"canvas": "git://github.com/Pomax/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-27 11:36:17 -07:00
|
|
|
"http-server": "git://github.com/Pomax/http-server#patch-1",
|
2020-09-11 16:30:05 -07:00
|
|
|
"link-checker": "git://github.com/Pomax/link-checker#master",
|
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",
|
2020-09-11 16:30:05 -07:00
|
|
|
"svgo": "git://github.com/Pomax/svgo#dereferenceUses-plugin"
|
2015-12-20 15:19:50 -08:00
|
|
|
}
|
|
|
|
}
|