core/package.json

111 lines
4.4 KiB
JSON
Raw Normal View History

2018-09-19 15:35:38 +00:00
{
"private": true,
2023-10-28 02:33:46 +00:00
"version": "3.4.0-alpha.1",
"packageManager": "pnpm@8.10.5",
2023-02-03 10:12:56 +00:00
"type": "module",
2018-09-19 15:35:38 +00:00
"scripts": {
2023-02-03 10:12:56 +00:00
"dev": "node scripts/dev.js",
"build": "node scripts/build.js",
"build-dts": "tsc -p tsconfig.build.json && rollup -c rollup.dts.config.js",
"clean": "rimraf packages/*/dist temp .eslintcache",
2023-08-21 03:33:51 +00:00
"size": "run-s \"size-*\" && tsx scripts/usage-size.ts",
"size-global": "node scripts/build.js vue runtime-dom -f global -p --size",
"size-esm-runtime": "node scripts/build.js vue -f esm-bundler-runtime",
"size-esm": "node scripts/build.js runtime-dom runtime-core reactivity shared -f esm-bundler",
2023-02-02 08:36:07 +00:00
"check": "tsc --incremental --noEmit",
"lint": "eslint --cache --ext .ts packages/*/{src,__tests__}/**.ts",
2023-08-11 09:30:04 +00:00
"format": "prettier --write --cache \"**/*.[tj]s?(x)\"",
"format-check": "prettier --check --cache \"**/*.[tj]s?(x)\"",
"test": "vitest",
"test-unit": "vitest -c vitest.unit.config.ts",
2023-02-03 10:12:56 +00:00
"test-e2e": "node scripts/build.js vue -f global -d && vitest -c vitest.e2e.config.ts",
"test-dts": "run-s build-dts test-dts-only",
2023-02-03 09:10:31 +00:00
"test-dts-only": "tsc -p ./packages/dts-test/tsconfig.test.json",
"test-coverage": "vitest -c vitest.unit.config.ts --coverage",
2023-02-03 10:12:56 +00:00
"release": "node scripts/release.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
2023-02-03 10:12:56 +00:00
"dev-esm": "node scripts/dev.js -if esm-bundler-runtime",
2021-09-23 18:46:16 +00:00
"dev-compiler": "run-p \"dev template-explorer\" serve",
"dev-sfc": "run-s dev-sfc-prepare dev-sfc-run",
"dev-sfc-prepare": "node scripts/pre-dev-sfc.js || npm run build-all-cjs",
"dev-sfc-serve": "vite packages/sfc-playground --host",
"dev-sfc-run": "run-p \"dev compiler-sfc -f esm-browser\" \"dev vue -if esm-bundler-runtime\" \"dev vue -ipf esm-browser-runtime\" \"dev server-renderer -if esm-bundler\" dev-sfc-serve",
"serve": "serve",
"open": "open http://localhost:3000/packages/template-explorer/local.html",
"build-sfc-playground": "run-s build-all-cjs build-runtime-esm build-ssr-esm build-sfc-playground-self",
"build-all-cjs": "node scripts/build.js vue runtime compiler reactivity reactivity-transform shared -af cjs",
2023-02-03 10:12:56 +00:00
"build-runtime-esm": "node scripts/build.js runtime reactivity shared -af esm-bundler && node scripts/build.js vue -f esm-bundler-runtime && node scripts/build.js vue -f esm-browser-runtime",
"build-ssr-esm": "node scripts/build.js compiler-sfc server-renderer -f esm-browser",
"build-sfc-playground-self": "cd packages/sfc-playground && npm run build",
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks"
},
"simple-git-hooks": {
2023-02-02 08:36:07 +00:00
"pre-commit": "pnpm lint-staged && pnpm check",
2023-02-03 10:12:56 +00:00
"commit-msg": "node scripts/verifyCommit.js"
2018-09-19 15:37:18 +00:00
},
"lint-staged": {
"*.{js,json}": [
2020-06-16 16:09:20 +00:00
"prettier --write"
2018-09-19 15:37:18 +00:00
],
"*.ts?(x)": [
"eslint",
2020-06-16 16:09:20 +00:00
"prettier --parser=typescript --write"
2018-09-19 15:37:18 +00:00
]
},
"engines": {
"node": ">=18.12.0"
},
2018-09-19 15:35:38 +00:00
"devDependencies": {
"@babel/parser": "^7.23.3",
"@babel/types": "^7.23.3",
"@rollup/plugin-alias": "^5.0.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@types/hash-sum": "^1.0.2",
"@types/node": "^20.9.2",
"@typescript-eslint/parser": "^6.11.0",
2023-10-21 08:59:26 +00:00
"@vitest/coverage-istanbul": "^0.34.6",
"@vue/consolidate": "0.17.3",
"conventional-changelog-cli": "^4.1.0",
"enquirer": "^2.4.1",
"esbuild": "^0.19.5",
"esbuild-plugin-polyfill-node": "^0.3.0",
"eslint": "^8.54.0",
"eslint-plugin-jest": "^27.6.0",
2023-02-04 03:59:42 +00:00
"estree-walker": "^2.0.2",
"execa": "^8.0.1",
"jsdom": "^22.1.0",
"lint-staged": "^15.1.0",
"lodash": "^4.17.21",
"magic-string": "^0.30.5",
2023-08-21 03:33:51 +00:00
"markdown-table": "^3.0.3",
"marked": "^9.1.6",
"minimist": "^1.2.8",
"npm-run-all": "^4.1.5",
2023-10-20 02:23:18 +00:00
"picocolors": "^1.0.0",
"prettier": "^3.1.0",
2023-08-21 03:33:51 +00:00
"pretty-bytes": "^6.1.1",
"pug": "^3.0.2",
"puppeteer": "~21.5.1",
"rimraf": "^5.0.5",
"rollup": "^4.1.4",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.0",
"rollup-plugin-polyfill-node": "^0.12.0",
"semver": "^7.5.4",
"serve": "^14.2.1",
"simple-git-hooks": "^2.9.0",
"terser": "^5.22.0",
"todomvc-app-css": "^2.4.3",
"tslib": "^2.6.2",
"tsx": "^4.1.4",
2023-10-21 08:59:26 +00:00
"typescript": "^5.2.2",
"vite": "^5.0.0",
2023-10-21 08:59:26 +00:00
"vitest": "^0.34.6"
2018-09-19 15:35:38 +00:00
}
}