forked from opentiny/tiny-engine
75 lines
3.1 KiB
JSON
75 lines
3.1 KiB
JSON
{
|
|
"name": "tiny-engine",
|
|
"private": true,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"dev": "pnpm run setup && concurrently 'pnpm:serve:backend' 'pnpm:serve:frontend'",
|
|
"dev:mock": "pnpm --filter @opentiny/tiny-engine dev",
|
|
"serve:frontend": "pnpm --filter @opentiny/tiny-engine serve",
|
|
"serve:backend": "pnpm --filter @opentiny/tiny-engine-mock dev",
|
|
"build:plugin": "pnpm --filter @opentiny/tiny-engine-* build",
|
|
"build:alpha": "pnpm --filter @opentiny/tiny-engine build:alpha",
|
|
"build:prod": "pnpm --filter @opentiny/tiny-engine build:prod",
|
|
"buildComponentSchemas": "node scripts/buildComponentSchemas.js",
|
|
"preview": "pnpm --filter @opentiny/tiny-engine preview",
|
|
"lint": "eslint . --ext .js,.vue,.jsx --fix",
|
|
"format": "prettier --write **/*{.vue,.js,.ts,.html,.json}",
|
|
"prepare": "node -e \"if(require('fs').existsSync('.git')){process.exit(1)}\" || husky install",
|
|
"pub:premajor": "pnpm run build:plugin && pnpm run build:alpha && pnpm lerna version premajor --preid beta --no-push --yes && lerna publish from-package --pre-dist-tag beta --yes",
|
|
"pub:preminor": "pnpm run build:plugin && pnpm run build:alpha && pnpm lerna version preminor --preid beta --no-push --yes && lerna publish from-package --pre-dist-tag beta --yes",
|
|
"pub:prepatch": "pnpm run build:plugin && pnpm run build:alpha && pnpm lerna version prepatch --preid beta --no-push --yes && lerna publish from-package --pre-dist-tag beta --yes",
|
|
"pub:prerelease": "pnpm run build:plugin && pnpm run build:alpha && pnpm lerna version prerelease --preid beta --no-push --yes && lerna publish from-package --pre-dist-tag beta --yes",
|
|
"setup": "node ./scripts/setup.js",
|
|
"splitMaterials": "node ./scripts/splitMaterials.mjs",
|
|
"buildMaterials": "node ./scripts/buildMaterials.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "^7.21.3",
|
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
"@types/node": "^18.0.0",
|
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
"assert": "^2.0.0",
|
|
"buffer": "^6.0.3",
|
|
"chokidar": "^3.5.3",
|
|
"concurrently": "^8.2.0",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^16.3.1",
|
|
"eslint": "^8.38.0",
|
|
"eslint-plugin-vue": "^8.0.0",
|
|
"fast-glob": "^3.3.2",
|
|
"fs-extra": "^10.1.0",
|
|
"husky": "^8.0.0",
|
|
"lerna": "^7.2.0",
|
|
"less": "^4.1.2",
|
|
"lint-staged": "^13.2.0",
|
|
"mysql": "^2.18.1",
|
|
"path": "^0.12.7",
|
|
"picocolors": "^1.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup-plugin-polyfill-node": "^0.12.0",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-visualizer": "^5.8.3",
|
|
"svg-sprite-loader": "^6.0.11",
|
|
"vite": "^4.3.7",
|
|
"vite-plugin-monaco-editor": "^1.0.10",
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
"vue-eslint-parser": "^8.0.1"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not dead"
|
|
],
|
|
"engines": {
|
|
"node": ">=14",
|
|
"pnpm": ">=7"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"@vue/repl@2.9.0": "patches/@vue__repl@2.9.0.patch"
|
|
}
|
|
}
|
|
}
|