-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.47 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
{
"scripts": {
"docs": "typedoc src/ --plugin none",
"docs:clean": "rimraf docs",
"docs:serve": "yarn docs:clean && yarn docs && live-server docs",
"docs2:id": "typedoc src/p5tId.ts src/id/ --out docs/id --mode file --plugin typedoc-plugin-markdown --theme docusaurus2 --skipSidebar",
"docs2:cube": "typedoc src/p5tCube.ts src/cube/ --out docs/cube --mode file --plugin typedoc-plugin-markdown --theme docusaurus2 --skipSidebar",
"docs2:web": "rm docs/id/index.md && rm docs/cube/index.md && cp -r docs/id website/docs/ && cp -r docs/cube website/docs/ && git checkout website/sidebars.js",
"docs2:sed": "find docs -name \"*.md\" | xargs sed -i -e \"7d\"",
"docs2": "yarn docs:clean && yarn docs2:id && yarn docs2:cube && yarn docs2:sed && yarn docs2:web",
"min": "terser ./dist/p5.toio.js --compress --mangle --output ./dist/p5.toio.min.js",
"make": "eslint ./src/**/*.ts --fix && tsc && bash ./concat.sh && yarn min",
"lint": "eslint ./src/**/*.ts ./tests/**/*.ts",
"lint:fix": "eslint ./src/**/*.ts ./tests/**/*.ts --fix",
"test": "jest --coverage",
"test:coverage": "jest --coverage --collectCoverage"
},
"dependencies": {
"@types/p5": "^0.9.0",
"@types/web-bluetooth": "0.0.5",
"eslint-config-p5js": "^1.0.1",
"eslint-plugin-prettier": "^3.1.3",
"p5": "^1.0.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"terser": "^4.8.1"
},
"devDependencies": {
"@types/jest": "^25.2.3",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"ts-jest": "^26.0.0",
"typedoc": "^0.23.20",
"typedoc-plugin-markdown": "^2.2.17",
"typescript": "^3.9.3",
"web-bluetooth-mock": "^1.0.2"
},
"jest": {
"preset": "ts-jest",
"moduleFileExtensions": [
"ts",
"js"
],
"moduleNameMapper": {
"^#/(.+)": "<rootDir>/src/$1"
},
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"testMatch": [
"**/tests/common/*.test.ts",
"**/tests/id/**/*.test.ts",
"**/tests/p5tId.test.ts",
"**/tests/cube/char/batteryChar.test.ts"
]
}
}