86 lines
2.5 KiB
JSON
86 lines
2.5 KiB
JSON
{
|
|
"name": "poseidon-engine-core",
|
|
"version": "0.2.14",
|
|
"main": "./dist/index.mjs",
|
|
"exports": {
|
|
"node": "./dist/index.mjs",
|
|
"browser": "./dist/browser.mjs"
|
|
},
|
|
"types": "./dist/types/index.d.ts",
|
|
"type": "module",
|
|
"repository": "git@git.code.tencent.com:supreium/engine3D/poseidon-engine-core.git",
|
|
"author": "Xiang Dong <d.xiang@supreium.com>",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"clean": "shx rm -rf ./dist ./out",
|
|
"tsc": "tsc",
|
|
"build": "yarn clean && rollup -c",
|
|
"build:dev": "rollup -c --environment BUILD:development",
|
|
"watch": "rollup -c -w",
|
|
"watch:dev": "rollup -c -w --environment BUILD:development",
|
|
"test": "vitest",
|
|
"coverage": "vitest run --coverage",
|
|
"lint": "eslint ./src ./*.ts --ext .ts,.tsx,.js,.jsx",
|
|
"_postinstall": "husky install",
|
|
"prepack": "pinst --disable",
|
|
"postpack": "pinst --enable"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.4.0",
|
|
"bidirection-map": "^0.0.8",
|
|
"canvas": "^2.10.2",
|
|
"gl": "^6.0.2",
|
|
"lodash-es": "^4.17.21",
|
|
"number-precision": "^1.6.0",
|
|
"polyfill-node16": "^0.0.1",
|
|
"supreium-node-threejs": "^0.1.8",
|
|
"supreium-threejs-examples": "^0.1.4",
|
|
"three": "^0.151.3",
|
|
"uuid": "^9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@edge-runtime/vm": "^3.0.4",
|
|
"@rollup/plugin-eslint": "^9.0.4",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-typescript": "^11.1.2",
|
|
"@types/gl": "^6.0.2",
|
|
"@types/koa": "^2.13.12",
|
|
"@types/koa-mount": "^4.0.5",
|
|
"@types/koa-static": "^4.0.4",
|
|
"@types/lodash-es": "^4.17.8",
|
|
"@types/node": "^20.8.10",
|
|
"@types/three": "^0.151.0",
|
|
"@types/uuid": "^9.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
"@typescript-eslint/parser": "^7.4.0",
|
|
"@vitest/coverage-v8": "^1.1.2",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^8.10.0",
|
|
"eslint-plugin-import": "^2.28.0",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"husky": "^8.0.0",
|
|
"is-wsl": "^3.1.0",
|
|
"jpeg-js": "^0.4.4",
|
|
"jsdom": "^22.1.0",
|
|
"koa": "^2.14.2",
|
|
"koa-mount": "^4.0.0",
|
|
"koa-static": "^5.0.0",
|
|
"pinst": "^3.0.0",
|
|
"prettier": "^3.0.1",
|
|
"rollup": "^4.9.1",
|
|
"rollup-plugin-copy": "^3.5.0",
|
|
"shx": "^0.3.4",
|
|
"typescript": "^5.1.6",
|
|
"vitest": "^1.1.0"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"!dist/*.map",
|
|
"!dist/types/vitest*",
|
|
"!dist/**/__tests__/**/*"
|
|
]
|
|
}
|