-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
59 lines (59 loc) · 2.86 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
{
"name": "@nand2tetris/web-ide",
"version": "2024.49.1",
"description": "A Javascript implementation of nand2tetris.org.",
"repository": {
"type": "git",
"url": "git+https://github.com/nand2tetris/web-ide.git"
},
"author": "David Souther <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/nand2tetris/web-ide/issues"
},
"homepage": "https://github.com/nand2tetris/web-ide",
"scripts": {
"precli": "npm run build -w cli",
"cli": "node cli",
"ci": "cross-env CI=true npm run check && cross-env CI=true npm run test:ci",
"precheck": "npm -w web run extract && npm -w web run lingui",
"check": "npm run check:format && npm run check:types && npm run check:lint",
"clean": "shx rm -rf **/node_modules **/tsconfig.tsbuildinfo **/build",
"format": "prettier --write cli/src components/src extension/src projects/src runner/src simulator/src web/src",
"fix": "eslint --fix cli/src components/src extension/src projects/src runner/src simulator/src web/src",
"check:format": "prettier --ignore-unknown --check cli/src components/src extension/src projects/src runner/src simulator/src web/src web/public",
"check:lint": "eslint --no-error-on-unmatched-pattern cli/src components/src extension/src projects/src runner/src simulator/src web/src web/public",
"precheck:types": "npm run build -w projects && npm run build -w runner && npm run build -w simulator && npm run build -w components",
"check:types": "tsc --build tsconfig.json",
"prebuild": "npm run check",
"build": "cross-env CI=true npm run build -w projects && cross-env CI=true npm run build -w runner && cross-env CI=true npm run build -w simulator && cross-env CI=true npm run build -w cli && cross-env CI=true npm run build -w components && cross-env CI=true npm run build -w web && cross-env CI=true npm run build -w extension",
"build:extension": "cross-env CI=true npm run build -w extension",
"watch": "concurrently -k --restart-tries 3 \"npm run build -w components -- -w\" \"npm run build -w projects -- -w\" \"npm run build -w runner -- -w\" \"npm run build -w simulator -- -w\"",
"test:ci": "cross-env CI=true npm test -w simulator && cross-env CI=true npm test -w components && cross-env CI=true npm test -w web",
"pretest": "npm run build",
"test": "npm run test:ci",
"web": "npm run start -w web",
"start": "npm run web",
"preinstall-cli": "npm run build -w projects && npm run build -w runner && npm run build -w simulator && npm run build -w cli",
"install-cli": "npm i -g cli"
},
"workspaces": [
"cli",
"components",
"extension",
"extension/views/hdl",
"projects",
"runner",
"simulator",
"web"
],
"engines": {
"node": ">=16",
"npm": ">=7"
},
"devDependencies": {
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"shx": "^0.3.4"
}
}