mirror of
https://github.com/galacean/engine.git
synced 2026-05-07 06:30:25 +08:00
75 lines
2.7 KiB
JSON
75 lines
2.7 KiB
JSON
{
|
|
"name": "@galacean/engine-root",
|
|
"version": "2.0.0-alpha.24",
|
|
"packageManager": "pnpm@9.3.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"pretest": "vitest --version && playwright install --with-deps chromium",
|
|
"test": "vitest",
|
|
"coverage": "cross-env HEADLESS=true vitest --coverage",
|
|
"examples": "pnpm --filter @galacean/engine-examples dev",
|
|
"build": "npm run b:module && npm run b:types",
|
|
"lint": "eslint packages/*/src --ext .ts",
|
|
"watch": "cross-env NODE_ENV=release BUILD_TYPE=MODULE rollup -cw -m inline",
|
|
"watch:umd": "cross-env NODE_ENV=release BUILD_TYPE=UMD rollup -cw -m inline",
|
|
"dev": "cross-env NODE_ENV=development BUILD_TYPE=MODULE 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:umd": "cross-env BUILD_TYPE=UMD NODE_ENV=release rollup -c",
|
|
"b:bundled": "cross-env BUILD_TYPE=BUNDLED NODE_ENV=release rollup -c",
|
|
"b:all": "cross-env NODE_ENV=release npm run b:types && cross-env BUILD_TYPE=ALL NODE_ENV=release rollup -c",
|
|
"clean": "pnpm -r exec rm -rf dist && pnpm -r exec rm -rf types",
|
|
"e2e:case": "pnpm -C ./e2e run case",
|
|
"pree2e": "playwright install --with-deps chromium",
|
|
"e2e": "playwright test",
|
|
"pree2e:debug": "playwright install --with-deps chromium",
|
|
"e2e:debug": "playwright test --ui",
|
|
"prepare": "husky install",
|
|
"release": "bumpp -r"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^11.0.0",
|
|
"@commitlint/config-conventional": "^11.0.0",
|
|
"@playwright/test": "^1.53.1",
|
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
"@rollup/plugin-node-resolve": "^11.0.1",
|
|
"@rollup/plugin-replace": "^2.3.4",
|
|
"@rollup/pluginutils": "^5.2.0",
|
|
"@swc/core": "^1.3.49",
|
|
"@swc/helpers": "^0.5.1",
|
|
"@types/dom-webcodecs": "^0.1.13",
|
|
"@types/node": "^18.7.16",
|
|
"@types/webxr": "latest",
|
|
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
"@typescript-eslint/parser": "^6.1.0",
|
|
"@vitest/coverage-v8": "2.1.3",
|
|
"bumpp": "^9.5.2",
|
|
"cross-env": "^5.2.0",
|
|
"electron": "^13",
|
|
"eslint": "^8.44.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"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-jscc": "^2.0.0",
|
|
"rollup-plugin-serve": "^1.1.0",
|
|
"rollup-plugin-swc3": "^0.10.1",
|
|
"ts-node": "^10",
|
|
"typescript": "^5.1.6",
|
|
"vitest": "2.1.3"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"repository": "git@github.com:galacean/runtime.git"
|
|
}
|