-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
48 lines (48 loc) · 1.32 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
{
"name": "@ircam/sc-utils",
"version": "1.9.0",
"contributors": [
"Benjamin Matuszewski",
"Jean-Philippe Lambert"
],
"description": "Set of simple generic utilities (type check, common math functions, etc.)",
"type": "module",
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"module": "./src/index.js",
"node": "./src/index.js",
"types": "./types/index.d.ts"
},
"./*.js": {
"module": "./src/*.js",
"node": "./src/*.js",
"types": "./types/*.d.ts"
}
},
"unpkg": "./build/bundle.js",
"scripts": {
"api": "jsdoc-to-readme --src src/*.js --heading-depth 2",
"build": "npx esbuild src/index.js --bundle --minify --format=esm --outfile=build/bundle.js",
"lint": "eslint ./src/*.js",
"preversion": "npm run build && npm run api && npm run types && git add -A && git commit -m 'docs: rebuild' --allow-empty",
"test": "mocha tests/index.spec.js",
"types": "rm -rf types && tsc"
},
"license": "BSD-3-Clause",
"dependencies": {
"@ircam/sc-gettime": "^1.0.1",
"is-plain-obj": "^4.1.0",
"number-precision": "^1.6.0"
},
"devDependencies": {
"@ircam/eslint-config": "^1.3.0",
"chai": "^4.3.8",
"eslint": "^8.48.0",
"jsdoc-to-readme": "^2.0.0",
"mocha": "^10.2.0",
"typescript": "^5.5.3"
}
}