forked from source-academy/modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 4.37 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"private": true,
"name": "modules",
"version": "1.0.0",
"repository": "https://github.com/source-academy/modules.git",
"license": "Apache-2.0",
"scripts-info": {
"//NOTE": "Run `npm i npm-scripts-info -g` to install once globally, then run `npm-scripts-info` as needed to list these descriptions",
"create": "Interactively initialise a new bundle or tab from their templates",
"docs": "Build only documentation",
"lint": "Lint bundle and tab code",
"lint:scripts": "Lint build script code",
"build": "Lint code, then build modules and documentation",
"build:help": "Show help for the build scripts",
"build:scripts": "Compile build scripts",
"serve": "Start the HTTP server to serve all files in `build/`, with the same directory structure",
"scripts": "Run a script within the scripts directory",
"prepare": "Enable git hooks",
"test": "Run unit tests",
"test:watch": "Watch files for changes and rerun tests related to changed files",
"dev": "Build bundles and tabs only, then serve. Skips linting / type checking, does not build jsons and HTML docs. For rapid testing during development",
"watch": "Watch files for changes and rebuild on those changes",
"postinstall": "Install all patches to node_modules packages"
},
"type": "module",
"scripts": {
"create": "yarn scripts create",
"docs": "yarn scripts build docs",
"lint": "yarn scripts lint",
"lint:scripts": "./node_modules/.bin/eslint -c scripts/src/.eslintrc.cjs scripts/src",
"build": "yarn scripts build",
"build:help": "yarn scripts build --help",
"build:scripts": "yarn test:scripts && yarn lint:scripts && rimraf scripts/bin && tsc --project scripts/src/tsconfig.json && copyfiles -f \"scripts/src/templates/templates/*\" scripts/bin/templates/templates",
"serve": "http-server --cors=* -c-1 -p 8022 ./build",
"scripts": "node --no-warnings --max-old-space-size=8192 scripts/bin/index.js",
"prepare": "husky install",
"test": "jest --verbose --config=src/jest.config.js",
"test:scripts": "jest --config=scripts/src/jest.config.js",
"test:watch": "jest --watch",
"dev": "yarn scripts build modules && yarn serve",
"watch": "yarn scripts watch",
"postinstall": "patch-package"
},
"devDependencies": {
"@types/dom-mediacapture-record": "^1.0.11",
"@types/eslint": "^8.4.10",
"@types/estree": "^1.0.0",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.23",
"@types/plotly.js-dist": "npm:@types/plotly.js",
"@types/react": "^17.0.43",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"acorn": "^8.8.1",
"acorn-jsx": "^5.3.2",
"astring": "^1.8.4",
"chalk": "^5.0.1",
"commander": "^9.4.0",
"console-table-printer": "^2.11.1",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"esbuild": "^0.17.19",
"eslint": "^8.21.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.8.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"http-server": "^0.12.3",
"husky": "5",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
"rimraf": "^4.1.2",
"ts-jest": "^29.0.5",
"typedoc": "^0.23.23",
"typescript": "4.8",
"yarnhook": "^0.5.1"
},
"dependencies": {
"@blueprintjs/core": "^4.6.1",
"@blueprintjs/icons": "^4.4.0",
"@blueprintjs/popover2": "^1.4.3",
"@box2d/core": "^0.10.0",
"@box2d/debug-draw": "^0.10.0",
"@jscad/modeling": "2.9.6",
"@jscad/regl-renderer": "^2.6.1",
"@jscad/stl-serializer": "^2.1.13",
"ace-builds": "^1.4.14",
"classnames": "^2.3.1",
"dayjs": "^1.10.4",
"gl-matrix": "^3.3.0",
"js-slang": "^1.0.20",
"patch-package": "^6.5.1",
"phaser": "^3.54.0",
"plotly.js-dist": "^2.17.1",
"postinstall-postinstall": "^2.1.0",
"react": "^17.0.2",
"react-ace": "^10.1.0",
"react-dom": "^17.0.2",
"regl": "^2.1.0",
"save-file": "^2.3.1",
"source-academy-utils": "^1.0.0",
"source-academy-wabt": "^1.0.4",
"tslib": "^2.3.1"
},
"jest": {
"projects": [
"src/jest.config.js",
"scripts/src/jest.config.js"
]
}
}