mirror of
https://github.com/galacean/engine.git
synced 2026-05-07 15:27:19 +08:00
82 lines
3.2 KiB
JSON
82 lines
3.2 KiB
JSON
{
|
|
"name": "@galacean/engine-root",
|
|
"version": "0.0.0-experimental-1.3-xr.10",
|
|
"packageManager": "pnpm@9.3.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"test": "cross-env TS_NODE_PROJECT=tsconfig.tests.json floss --path tests -r ts-node/register",
|
|
"test-debug": "cross-env TS_NODE_PROJECT=tsconfig.tests.json floss --path tests -r ts-node/register --debug",
|
|
"test-cov": "cross-env TS_NODE_PROJECT=tsconfig.tests.json IS_COV=1 nyc --reporter=lcov floss --path tests -r ts-node/register",
|
|
"build": "npm run b:module && npm run b:types",
|
|
"build:editor": "npm run b:module:editor && npm run b:types",
|
|
"lint": "eslint packages/*/src --ext .ts",
|
|
"watch": "cross-env NODE_ENV=release BUILD_TYPE=MODULE rollup -cw -m inline",
|
|
"watch:editor": "cross-env NODE_ENV=editor BUILD_TYPE=MODULE rollup -cw -m inline",
|
|
"watch:umd": "cross-env NODE_ENV=release BUILD_TYPE=UMD rollup -cw -m inline",
|
|
"watch:umd:editor": "cross-env NODE_ENV=editor BUILD_TYPE=UMD rollup -cw -m inline",
|
|
"b:types": "pnpm -r --filter=./packages/* run b:types",
|
|
"b:module": "cross-env BUILD_TYPE=MODULE NODE_ENV=release rollup -c",
|
|
"b:module:editor": "cross-env BUILD_TYPE=MODULE NODE_ENV=editor rollup -c",
|
|
"b:umd": "cross-env BUILD_TYPE=UMD NODE_ENV=release rollup -c",
|
|
"b:miniprogram": "cross-env BUILD_TYPE=MINI rollup -c",
|
|
"b:all": "cross-env NODE_ENV=release npm run b:types && cross-env BUILD_TYPE=ALL NODE_ENV=release rollup -c",
|
|
"b:all:editor": "cross-env NODE_ENV=editor npm run b:types && cross-env BUILD_TYPE=ALL rollup -c",
|
|
"clean": "pnpm -r exec rm -rf dist && pnpm -r exec rm -rf types",
|
|
"e2e:case": "pnpm -C ./e2e run case",
|
|
"e2e": "cypress run --browser chrome --headless",
|
|
"e2e:debug": "cypress open",
|
|
"prepare": "husky install",
|
|
"release": "bumpp -r"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^11.0.0",
|
|
"@commitlint/config-conventional": "^11.0.0",
|
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
"@rollup/plugin-inject": "^4.0.2",
|
|
"@rollup/plugin-node-resolve": "^11.0.1",
|
|
"@rollup/plugin-replace": "^2.3.4",
|
|
"@swc/core": "^1.3.49",
|
|
"@swc/helpers": "^0.5.1",
|
|
"@types/chai": "^4.3.1",
|
|
"@types/chai-spies": "^1.0.3",
|
|
"@types/mocha": "^8.0.0",
|
|
"@types/node": "^18.7.16",
|
|
"@types/webxr": "latest",
|
|
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
"@typescript-eslint/parser": "^6.1.0",
|
|
"bumpp": "^9.5.2",
|
|
"chai": "^4.3.6",
|
|
"chai-spies": "^1.0.0",
|
|
"cross-env": "^5.2.0",
|
|
"cypress": "^12.17.1",
|
|
"cypress-recurse": "^1.23.0",
|
|
"electron": "^13",
|
|
"eslint": "^8.44.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"floss": "^5.0.1",
|
|
"fs-extra": "^10.1.0",
|
|
"husky": "^8.0.0",
|
|
"lint-staged": "^10.5.3",
|
|
"nyc": "^15.1.0",
|
|
"odiff-bin": "^2.5.0",
|
|
"prettier": "^3.0.0",
|
|
"rollup": "^2.36.1",
|
|
"rollup-plugin-glslify": "^1.2.0",
|
|
"rollup-plugin-jscc": "^2.0.0",
|
|
"rollup-plugin-modify": "^3.0.0",
|
|
"rollup-plugin-serve": "^1.1.0",
|
|
"rollup-plugin-swc3": "^0.10.1",
|
|
"ts-node": "^10",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"repository": "git@github.com:galacean/runtime.git"
|
|
}
|