forked from BabylonJS/Babylon.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 6.65 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
{
"name": "@babylonjs/root",
"version": "1.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/BabylonJS/bjs-monorepo"
},
"devDependencies": {
"@alex_neo/jest-expect-message": "~1.0.5",
"@dev/build-tools": "^1.0.0",
"@nrwl/tao": "^18.0.4",
"@nrwl/workspace": "^18.0.4",
"@playwright/test": "1.46.1",
"@types/expect-puppeteer": "~5.0.3",
"@types/fs-extra": "^9.0.13",
"@types/jest": "~27.4.0",
"@types/jest-environment-puppeteer": "~5.0.0",
"@types/jest-expect-message": "~1.0.3",
"@types/puppeteer": "~5.4.4",
"@types/selenium-webdriver": "^4.1.2",
"@typescript-eslint/eslint-plugin": "~6.9.0",
"@typescript-eslint/parser": "~6.9.0",
"ajv": "~8.12.0",
"chokidar": "~3.6.0",
"concurrently": "~8.0.1",
"dotenv": "~16.0.0",
"es-check": "^7.1.1",
"eslint": "^8.11.0",
"eslint-config-prettier": "~9.0.0",
"eslint-formatter-azure-devops": "^1.2.0",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-jest": "~27.4.3",
"eslint-plugin-jsdoc": "~46.2.6",
"eslint-plugin-prettier": "~5.0.0",
"eslint-plugin-tsdoc": "~0.2.14",
"fs-extra": "^10.0.1",
"glob": "^10.4.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.5.0",
"jest-junit": "~13.2.0",
"lerna": "^8.1.2",
"mini-css-extract-plugin": "~2.6.0",
"nx": "^18.0.4",
"prettier": "^3.0.3",
"rimraf": "~6.0.1",
"selenium-webdriver": "^4.3.1",
"ts-jest": "~29.1.0",
"ts-node": "~10.9.0",
"ts-patch": "3.0.2",
"tslib": "^2.4.0",
"typedoc": "^0.25.7",
"typescript": "~5.1.0",
"webpack": "^5.73.0",
"webpack-cli": "^5.1.0"
},
"optionalDependencies": {
"canvas": "~2.11.0"
},
"workspaces": [
"packages/**/*"
],
"scripts": {
"build:dev": "npm run build:assets && npm run build:source && npm run build:declaration -w @tools/babylon-server",
"build:lts": "npm run build:assets && npm run build:source:lts",
"build:source": "tsc -b ./tsconfig.devpackages.json",
"build:source:lts": "npx nx run-many --target=compile --projects=@lts/core,@lts/gui,@lts/loaders,@lts/materials,@lts/post-processes,@lts/procedural-textures,@lts/serializers --parallel=1",
"build:umd": "nx run-many --target=build --parallel --maxParallel=6 --projects=babylonjs,babylonjs-gui,babylonjs-inspector,babylonjs-loaders,babylonjs-materials,babylonjs-serializers,babylonjs-post-process,babylonjs-procedural-textures,babylonjs-node-editor,babylonjs-node-geometry-editor,babylonjs-node-render-graph-editor,babylonjs-gui-editor,babylonjs-ktx2decoder,babylonjs-viewer-assets,babylonjs-viewer,babylonjs-accessibility,babylonjs-addons",
"build:es6": "nx run-many --target=build --parallel --maxParallel=6 --projects=@babylonjs/core,@babylonjs/gui,@babylonjs/loaders,@babylonjs/materials,@babylonjs/serializers,@babylonjs/post-processes,@babylonjs/procedural-textures,@babylonjs/node-editor,@babylonjs/node-geometry-editor,@babylonjs/node-render-graph-editor,@babylonjs/inspector,@babylonjs/gui-editor,@babylonjs/viewer,@babylonjs/viewer-alpha,@babylonjs/shared-ui-components,@babylonjs/addons,@babylonjs/accessibility,@babylonjs/ktx2decoder",
"watch:shaders": "build-tools -c build-shaders --global --watch",
"watch:assets": "build-tools -c pa --global --watch",
"watch:source:dev": "tsc -b ./tsconfig.devpackages.json -w",
"watch:source:lts": "npx nx run-many --target=watch:lts --all --parallel --maxParallel=20",
"build:assets": "build-tools -c pa --global",
"build:shaders": "build-tools -c build-shaders --global",
"watch:dev": "npx build-tools -c dw -wa -wd",
"watch:dev:skip-compile": "npx build-tools -c dw -wa -wd -sc",
"watch-dev-test": "concurrently --kill-others -m 2 -n typescript,declarations,server,shaders \"tsc -b ./tsconfig.devpackages.json --watch\" \"npm run watch:declaration -w @tools/babylon-server\" \"npm run watch-shaders\"",
"watch-and-serve:dev": "concurrently \"npm run watch-dev-test\" \"npm run serve -w @tools/babylon-server\"",
"watch-lts": "npx nx run-many --target=watch:lts --all --parallel --maxParallel=20",
"build:babylonjs": "nx build babylonjs",
"build:tools": "npm run build -w @dev/build-tools && npm run build -w eslint-plugin-babylonjs",
"build:test-tools": "npm run build -w @tools/test-tools",
"test": "jest --runInBand",
"test:unit": "jest --selectProjects=unit",
"test:visualization": "playwright test -c ./packages/tools/tests/playwright.config.ts",
"test:visualization:ui": "playwright test -c ./packages/tools/tests/playwright.config.ts --ui",
"test:integration": "jest --selectProjects=integration --runInBand && npm run test -w @tools/memory-leak-tests",
"test:performance": "playwright test -c ./packages/tools/tests/playwright.config.ts --project=performance",
"test:interactions": "jest --selectProjects=interactions --runInBand",
"test:escheck": "nx run-many --target=test:escheck --parallel --maxParallel=6",
"test:docs": "node ./scripts/typedoc-generator.js",
"prepare": "ts-patch install -s && npm run build:tools && npm i @dev/build-tools -D && npm run build:assets && npm run build:test-tools",
"clean": "npx nx run-many --target=clean --all && npm run build:tools",
"format": "npm run format:check && npm run format:fix",
"format:check": "prettier --check \"packages/**/src/**/*.{ts,tsx,js,json,scss,css}\"",
"format:fix": "prettier --write \"packages/**/src/**/*.{ts,tsx,js,json,scss,css}\"",
"lint": "npm run lint:check",
"lint:check": "eslint \"packages/**/src/**/*.{ts,tsx,js,json}\" --quiet",
"lint:check-ci": "eslint -f node_modules/eslint-formatter-azure-devops/index.js \"packages/**/src/**/*.{ts,tsx,js,json}\" --quiet",
"update-all-dependencies": "npm update -ws",
"prepare-snapshot": "npm run build:snapshot -w @tools/babylon-server && build-tools -c ps",
"start": "concurrently --kill-others -m 2 -n dev-watch,cdn-server \"npm run watch:dev:skip-compile\" \"npm run serve -w @tools/babylon-server\""
},
"engines": {
"node": ">=16.0.0 <23.0.0",
"npm": ">=8.0.0"
},
"changelog": {
"nextVersion": "Unreleased",
"ignoreCommitters": [],
"feature": "New Feature"
}
}