-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
43 lines (43 loc) · 1.94 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "langevitour",
"version": "0.7.0",
"description": "An HTML widget that randomly tours 2D projections of numerical data.",
"type": "module",
"main": "lib/langevitour.js",
"sideEffects": false,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"sync-versions": "VERSION=$(grep '^Version:' DESCRIPTION | cut -d' ' -f2) && sed 's/^ \\\"version\\\":.*/ \\\"version\\\": \\\"'$VERSION'\\\",/' package.json >package.json.new && mv package.json.new package.json && sed 's/^ version:.*/ version: \\\"'$VERSION'\\\"/' inst/htmlwidgets/langevitour.yaml >inst/htmlwidgets/langevitour.yaml.new && mv inst/htmlwidgets/langevitour.yaml.new inst/htmlwidgets/langevitour.yaml && hatch version $VERSION",
"js-build": "npx tsc && npx webpack",
"js-build-quick": "npx tsc && npx webpack --mode=development",
"js-docs": "npx typedoc src/langevitour.ts --out docs/jsdoc/ --excludeNotDocumented --readme none",
"r-document": "Rscript -e 'devtools::document()'",
"r-docs": "npm run r-document && Rscript -e 'pkgdown::build_site()'",
"py-build": "cp inst/htmlwidgets/lib/langevitour-pack.js py/langevitour/static/langevitour-pack.js && hatch build",
"py-publish": "hatch publish",
"build": "npm run sync-versions && npm run js-build && npm run js-docs && npm run r-docs && npm run py-build",
"r-install": "Rscript -e 'devtools::install()'",
"r-install-quick": "Rscript -e 'devtools::install(quick=TRUE)'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pfh/langevitour.git"
},
"author": "Paul Harrison",
"license": "MIT",
"bugs": {
"url": "https://github.com/pfh/langevitour/issues"
},
"homepage": "https://logarithmic.net/langevitour",
"devDependencies": {
"typedoc": "^0.23.15",
"typescript": "^4.8.3",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"d3": "^7.6.1",
"jstat": "^1.9.5",
"svd-js": "^1.1.1"
}
}