-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.95 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
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "magic-circle",
"private": true,
"description": "Magic Circle main repo",
"homepage": "https://magic-circle.dev",
"author": "Davey van der Woert <[email protected]> (http://dpwoert.com)",
"keywords": [
"controls",
"creative coding",
"editor"
],
"repository": {
"type": "git",
"url": "https://github.com/dpwoert/magic-circle.git"
},
"workspaces": [
"./core/*",
"./examples/*",
"./plugins/*"
],
"license": "MIT",
"scripts": {
"prepare": "husky install",
"watch": "lerna watch -- lerna run build:dev --scope=$LERNA_PACKAGE_NAME",
"build:dev": "lerna run build:dev --ignore @magic-circle/example-*",
"build:prod": "lerna run build:prod",
"build:stats": "lerna run build:stats",
"generate:icons": "lerna run generate:icons --scope @magic-circle/styles",
"generate:example-list": "lerna run generate:list --scope @magic-circle/online",
"example": "sh examples/run.sh",
"publish:npm": "sh scripts/publish.sh",
"publish:online": "lerna run package --scope @magic-circle/online",
"publish:gltf": "lerna run package --scope @magic-circle/gltf",
"publish:online:serve": "npm run publish:online && lerna run serve --scope @magic-circle/online",
"prettier": "prettier --config --write \"{core,examples,plugins,scripts}/**/*.{js,jsx,ts,tsx,json,css}\"",
"lint": "eslint \"{core,examples,plugins,scripts}/**/*.{js,jsx,ts,tsx}\" --cache",
"lint:types": "node scripts/unused-types",
"lint:dependencies": "node scripts/unused-dependencies",
"test": "jest --runInBand",
"test:watch": "jest --watch --runInBand",
"test:snapshot": "jest --updateSnapshot",
"test:coverage": "jest --coverage",
"update": "ncu",
"update:upgrade": "ncu --upgrade --doctor --doctorTest \"npm run test && npm run build:dev\"",
"clean": "find . -name 'node_modules' -type d | xargs rm -rf && find . -name 'dist' -type d | xargs rm -rf && find . -name '.cache' -type d"
},
"engines": {
"node": ">20"
},
"devDependencies": {
"@babel/core": "^7.23.6",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"@babel/eslint-parser": "^7.23.3",
"depcheck": "^1.4.7",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"kleur": "4.1.5",
"lerna": "^8.0.1",
"lint-staged": "^15.2.0",
"npm-check": "^6.0.1",
"npm-check-updates": "*",
"prettier": "^3.1.1",
"ts-jest": "^29.1.1",
"ts-unused-exports": "^10.0.1"
},
"lint-staged": {
"{core,examples,plugins,scripts}/**/*.{js,jsx,ts,tsx}": [
"prettier --config --write"
]
},
"overrides": {
"react": "^18.2.0"
}
}