forked from BabylonJS/Babylon.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 5.43 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
{
"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/cli": "^14.3.5",
"@nrwl/tao": "^14.3.5",
"@nrwl/workspace": "^14.3.5",
"@types/expect-puppeteer": "~4.4.7",
"@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": "~5.16.0",
"@typescript-eslint/parser": "~5.16.0",
"ajv": "~8.11.0",
"chokidar": "~3.5.2",
"concurrently": "~7.2.0",
"dotenv": "~16.0.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "~8.5.0",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-jest": "~26.5.3",
"eslint-plugin-jsdoc": "~39.3.2",
"eslint-plugin-prettier": "~4.0.0",
"eslint-plugin-tsdoc": "~0.2.14",
"fs-extra": "^10.0.1",
"jest": "~27.5.1",
"jest-junit": "~13.2.0",
"mini-css-extract-plugin": "~2.6.0",
"prettier": "^2.6.0",
"rimraf": "~3.0.2",
"selenium-webdriver": "^4.3.1",
"ts-jest": "~27.1.3",
"ts-node": "~10.7.0",
"ts-patch": "~2.0.1",
"tslib": "^2.4.0",
"typescript": "~4.6.2",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0"
},
"optionalDependencies": {
"canvas": "~2.9.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=3 --projects=babylonjs,babylonjs-gui,babylonjs-inspector,babylonjs-loaders,babylonjs-materials,babylonjs-serializers,babylonjs-post-process,babylonjs-procedural-textures,babylonjs-node-editor,babylonjs-gui-editor,babylonjs-ktx2decoder,babylonjs-viewer-assets,babylonjs-viewer",
"build:es6": "nx run-many --target=build --parallel=3 --projects=core,gui,loaders,materials,serializers,post-processes,procedural-textures,node-editor,inspector,gui-editor,viewer",
"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",
"build:test-tools": "npm run build -w @tools/test-tools",
"test": "jest --runInBand",
"test:unit": "jest --selectProjects=unit",
"test:visualization": "jest --selectProjects=visualization --runInBand",
"test:integration": "jest --selectProjects=integration --runInBand",
"test:performance": "jest --selectProjects=performance --runInBand",
"test:interactions": "jest --selectProjects=interactions --runInBand",
"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 && npm run lint:fix",
"lint:check": "eslint ./packages/**/src/**/*.{ts,tsx,js,json}",
"lint:fix": "eslint ./packages/**/src/**/*.{ts,tsx,js,json} --fix",
"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": ">=12.0.0 <17.0.0",
"npm": ">=7.0.0"
},
"changelog": {
"nextVersion": "Unreleased",
"ignoreCommitters": [],
"feature": "New Feature"
}
}