Files
engine/package.json
GuoLei1990 d64b3204f2 Merge branch 'main' into dev/1.1
* main: (41 commits)
  fix: skin mesh error (#1675)
  fix: test error (#1674)
  test: fix ci not work (#1670)
  fix: `EventDispatcher` static pool bug
  fix: eventdispatcher bug (#1671)
  fix: animation event bug (#1666)
  Fix parse glTF texture wrap & filterMode bug (#1659)
  Fix text wrap bug (#1644)
  chore: use strict error msg and type (#1647)
  Fix text error for set text to "" and set enableWrapping to true (#1634)
  "v1.0.0-beta.17"
  Process GLTFBufferParser and GLTFTextureParser pipelines in parallel (#1638)
  Fix animation clip loader, clip change promise to assetPromise, controller json parse (#1506)
  fix: the layer is not cloned when the node is cloned (#1636)
  Fix glTF texture mipmap bug (#1637)
  "v1.0.0-beta.16"
  Adjust main light to directional lights first (#1635)
  Fix  `AmbientLight` can't destroy bug (#1633)
  Add value change listener for `Sprite` (#1622)
  Add unit test case of `Font` (#1606)
  ...
2023-08-01 12:53:08 +08:00

70 lines
2.4 KiB
JSON

{
"name": "@galacean/engine-root",
"version": "1.0.0",
"packageManager": "pnpm@8.6.2",
"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",
"lint": "eslint packages/*/src --ext .ts",
"watch": "cross-env NODE_ENV=development BUILD_TYPE=MODULE rollup -cw -m inline",
"watch:umd": "cross-env NODE_ENV=development BUILD_TYPE=UMD rollup -cw -m inline",
"b:types": "pnpm -r --filter=./packages/* run b:types",
"b:module": "cross-env BUILD_TYPE=MODULE rollup -c",
"b:umd": "cross-env BUILD_TYPE=UMD rollup -c",
"b:miniprogram": "cross-env BUILD_TYPE=MINI rollup -c",
"b:all": "npm run b:types && cross-env BUILD_TYPE=ALL rollup -c",
"clean": "pnpm -r exec rm -rf dist && pnpm -r exec rm -rf types"
},
"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",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"chai": "^4.3.6",
"chai-spies": "^1.0.0",
"cross-env": "^5.2.0",
"electron": "^13",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"floss": "^5.0.1",
"husky": "^4.3.7",
"lint-staged": "^10.5.3",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"rollup": "^2.36.1",
"rollup-plugin-glslify": "^1.2.0",
"rollup-plugin-modify": "^3.0.0",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-swc3": "^0.8.0",
"ts-node": "^10",
"typescript": "^5.1.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts}": [
"eslint --fix",
"git add"
]
}
}