-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 4.75 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 4.75 KB
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
{
"private": true,
"name": "@sourceacademy/modules",
"version": "1.0.0",
"repository": "https://github.com/source-academy/modules.git",
"license": "Apache-2.0",
"type": "module",
"scripts-info": {
"build:bundles": "Builds all bundles",
"build:docs": "Build all documentation for all bundles, then builds the HTML documentation",
"build:libs": "Build all module library code",
"build:modules": "Build all bundles and tabs",
"devserver": "Run the modules development server",
"lint:all": "Lint all code in the repository",
"lint:global": "Lint all code in the repository that isn't a bundle or a tab",
"lint:inspect": "Run the interactive ESLint config inspector",
"lint:modules": "Lint only bundles and tabs",
"prepare": "Enable git hooks",
"run:bundles": "Run the given command on every single bundle workspace",
"serve": "Start the HTTP server to serve all files in ./build, with the same directory structure",
"template": "Interactively initialise a new bundle or tab from their templates",
"test:all": "Run unit tests for the entire repository",
"test:devserver": "Run unit tests for the dev server",
"test:libs": "Run unit tests for libraries",
"test:modules": "Run unit tests for tabs and bundles",
"tsc:all": "Run the Typescript compiler for all code in the repository",
"tsc:devserver": "Run the Typescript compiler for the devserver",
"tsc:modules": "Run the Typescript compiler for bundle and tabs only"
},
"scripts": {
"build:docs": "yarn run:bundles buildtools build docs && yarn buildtools html && yarn workspaces foreach -A --include \"@sourceacademy/modules-docserver\" run build",
"build:bundles": "yarn run:bundles build",
"build:libs": "yarn workspaces foreach -ptW --from \"./lib/*\" run build",
"build:modules": "yarn workspaces foreach -ptW --from \"./src/{bundles,tabs}/*\" run buildtools build && buildtools manifest",
"devserver": "node ./devserver/bin.js",
"lint:all": "yarn lint:global && yarn lint:modules",
"lint:global": "node --max-old-space-size=8192 $(yarn bin buildtools) lintglobal",
"lint:inspect": "yarn dlx eslint --inspect-config",
"lint:modules": "yarn workspaces foreach -j 5 -pW --from \"./src/{bundles,tabs}/*\" run lint",
"prepare": "husky",
"run:bundles": "yarn workspaces foreach -ptW --from \"./src/bundles/*\" run",
"serve": "yarn buildtools serve",
"template": "buildtools template",
"test:all": "buildtools testall",
"test:devserver": "yarn workspaces foreach -A --include \"@sourceacademy/modules-devserver\" run test",
"test:libs": "yarn workspaces foreach -ptW --from \"./lib/*\" run test",
"test:modules": "yarn workspaces foreach -ptW --from \"./src/{bundles,tabs}/*\" run test",
"tsc:all": "yarn workspaces foreach -pt --all --exclude \"@sourceacademy/modules\" run tsc",
"tsc:devserver": "tsc --project ./devserver/tsconfig.json",
"tsc:modules": "yarn workspaces foreach -ptW --from \"./src/{bundles,tabs}/*\" run tsc"
},
"devDependencies": {
"@eslint/markdown": "^7.5.1",
"@sourceacademy/lint-plugin": "workspace:^",
"@sourceacademy/modules-buildtools": "workspace:^",
"@sourceacademy/modules-repotools": "workspace:^",
"@sourceacademy/vitest-reporter": "workspace:^",
"@stylistic/eslint-plugin": "^5.0.0",
"@types/node": "^22.15.30",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/eslint-plugin": "^1.6.6",
"@yarnpkg/types": "^4.0.1",
"esbuild": "^0.27.0",
"eslint": "^9.35.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "^62.0.0",
"eslint-plugin-mdx": "^3.6.2",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-yml": "^3.0.0",
"husky": "^9.1.7",
"jsdom": "^26.1.0",
"jsonc-eslint-parser": "^2.4.0",
"typescript": "^5.8.2",
"typescript-eslint": "^8.53.1",
"vitest": "^4.0.18",
"vitest-browser-react": "^2.0.4"
},
"peerDependencies": {
"@blueprintjs/core": "^6.0.0",
"@blueprintjs/icons": "^6.0.0",
"js-slang": "^1.0.85",
"lodash": "^4.17.23",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devEngines": {
"packageManager": {
"name": "yarn",
"version": "^4.12.0",
"onFail": "warn"
},
"runtime": {
"name": "node",
"version": "^22.16.0",
"onFail": "error"
}
},
"packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8",
"workspaces": [
"./.github/actions",
"./devserver",
"./docs",
"./lib/*",
"./src/bundles/*",
"./src/tabs/*"
]
}