-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 2.04 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "algomatic",
"version": "3.2.1",
"description": "Various algorithms and math utilities.",
"main": "./lib/index-cjs.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"sideEffects": false,
"files": [
"lib"
],
"scripts": {
"build": "tsc && rollup --input ./lib/index.js --file ./lib/index-cjs.js --format cjs --plugin @rollup/plugin-node-resolve",
"clean": "rimraf ./lib ./docs",
"test": "jest --detectOpenHandles",
"perf": "[ -d ./lib ] || npm run build && toofast ./src/test/perf.js",
"docs": "typedoc ./src/main/index.ts",
"publish-docs": "[ -d ./docs ] && [[ ! $(git status --porcelain) ]] && branch=$(git rev-parse --abbrev-ref HEAD) && sha=$(git rev-parse --short HEAD) && t=$(mktemp -d) && cp -R ./docs/ $t && git checkout ghpages && ls -A | grep -wv .git | xargs rm -rf && cp -R $t/ . && git add . && git commit -m \"Updated docs ($sha)\" && git push && git checkout $branch",
"release-docs": "npm run clean && npm run docs && npm run publish-docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/smikhalevski/algomatic.git"
},
"keywords": [
"javascript",
"int",
"uint",
"byte",
"number",
"math",
"bitwise",
"lerp",
"spline",
"cspline",
"cubic-spline",
"interpolation",
"binary-search",
"sort",
"parallel-sort",
"easing"
],
"author": "Savva Mikhalevski <smikhalevski@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/smikhalevski/algomatic/issues"
},
"homepage": "https://github.com/smikhalevski/algomatic#readme",
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {
"diagnostics": {
"ignoreCodes": [
151001
]
}
}
}
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/jest": "^27.4.0",
"jest": "^27.4.7",
"rimraf": "^3.0.2",
"rollup": "^2.74.1",
"toofast": "^1.3.0",
"ts-jest": "^27.1.3",
"typedoc": "^0.22.11",
"typescript": "^4.5.5"
}
}