2018-09-19 15:35:38 +00:00
|
|
|
{
|
|
|
|
"private": true,
|
2024-06-28 02:14:29 +00:00
|
|
|
"version": "3.4.31",
|
2024-07-08 09:31:20 +00:00
|
|
|
"packageManager": "pnpm@9.5.0",
|
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",
|
2024-04-15 07:52:48 +00:00
|
|
|
"build-dts": "tsc -p tsconfig.build-browser.json && tsc -p tsconfig.build-node.json && rollup -c rollup.dts.config.js",
|
2023-09-21 14:12:49 +00:00
|
|
|
"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",
|
2024-04-17 13:58:35 +00:00
|
|
|
"lint": "eslint --cache .",
|
2023-08-11 09:30:04 +00:00
|
|
|
"format": "prettier --write --cache .",
|
|
|
|
"format-check": "prettier --check --cache .",
|
2023-01-26 14:53:39 +00:00
|
|
|
"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",
|
2023-02-03 07:48:12 +00:00
|
|
|
"test-dts": "run-s build-dts test-dts-only",
|
2024-04-15 05:36:43 +00:00
|
|
|
"test-dts-only": "tsc -p packages/dts-built-test/tsconfig.json && tsc -p ./packages/dts-test/tsconfig.test.json",
|
2023-01-26 14:53:39 +00:00
|
|
|
"test-coverage": "vitest -c vitest.unit.config.ts --coverage",
|
2023-12-08 13:26:48 +00:00
|
|
|
"test-bench": "vitest bench",
|
2023-02-03 10:12:56 +00:00
|
|
|
"release": "node scripts/release.js",
|
2020-02-06 15:22:16 +00:00
|
|
|
"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",
|
2022-11-14 02:22:20 +00:00
|
|
|
"dev-sfc": "run-s dev-sfc-prepare dev-sfc-run",
|
2023-11-10 09:17:17 +00:00
|
|
|
"dev-sfc-prepare": "node scripts/pre-dev-sfc.js || npm run build-all-cjs",
|
2022-11-14 02:22:20 +00:00
|
|
|
"dev-sfc-serve": "vite packages/sfc-playground --host",
|
2023-11-12 08:30:30 +00:00
|
|
|
"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",
|
2020-02-06 15:22:16 +00:00
|
|
|
"serve": "serve",
|
2023-09-06 10:31:10 +00:00
|
|
|
"open": "open http://localhost:3000/packages/template-explorer/local.html",
|
2023-12-04 19:08:21 +00:00
|
|
|
"build-sfc-playground": "run-s build-all-cjs build-runtime-esm build-browser-esm build-ssr-esm build-sfc-playground-self",
|
2023-11-21 10:06:42 +00:00
|
|
|
"build-all-cjs": "node scripts/build.js vue runtime compiler reactivity 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",
|
2023-12-04 19:08:21 +00:00
|
|
|
"build-browser-esm": "node scripts/build.js runtime reactivity shared -af esm-bundler && node scripts/build.js vue -f esm-bundler && node scripts/build.js vue -f esm-browser",
|
2023-02-03 10:12:56 +00:00
|
|
|
"build-ssr-esm": "node scripts/build.js compiler-sfc server-renderer -f esm-browser",
|
2022-11-14 02:14:12 +00:00
|
|
|
"build-sfc-playground-self": "cd packages/sfc-playground && npm run build",
|
2023-07-09 04:52:13 +00:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2022-11-09 13:14:59 +00:00
|
|
|
"postinstall": "simple-git-hooks"
|
2019-11-02 02:54:01 +00:00
|
|
|
},
|
2022-11-09 13:14:59 +00:00
|
|
|
"simple-git-hooks": {
|
2023-02-02 08:36:07 +00:00
|
|
|
"pre-commit": "pnpm lint-staged && pnpm check",
|
2023-12-26 06:59:34 +00:00
|
|
|
"commit-msg": "node scripts/verify-commit.js"
|
2018-09-19 15:37:18 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2022-11-09 13:14:59 +00:00
|
|
|
"*.{js,json}": [
|
2020-06-16 16:09:20 +00:00
|
|
|
"prettier --write"
|
2018-09-19 15:37:18 +00:00
|
|
|
],
|
2019-10-14 19:07:43 +00:00
|
|
|
"*.ts?(x)": [
|
2023-12-26 14:13:50 +00:00
|
|
|
"eslint --fix",
|
2020-06-16 16:09:20 +00:00
|
|
|
"prettier --parser=typescript --write"
|
2018-09-19 15:37:18 +00:00
|
|
|
]
|
|
|
|
},
|
2020-03-25 13:44:19 +00:00
|
|
|
"engines": {
|
2023-10-20 02:43:54 +00:00
|
|
|
"node": ">=18.12.0"
|
2020-03-25 13:44:19 +00:00
|
|
|
},
|
2018-09-19 15:35:38 +00:00
|
|
|
"devDependencies": {
|
2024-07-08 12:06:37 +00:00
|
|
|
"@babel/parser": "catalog:",
|
|
|
|
"@babel/types": "catalog:",
|
2024-02-05 03:37:25 +00:00
|
|
|
"@rollup/plugin-alias": "^5.1.0",
|
2024-07-08 12:06:37 +00:00
|
|
|
"@rollup/plugin-commonjs": "^26.0.1",
|
2024-02-05 03:37:25 +00:00
|
|
|
"@rollup/plugin-json": "^6.1.0",
|
2023-10-20 02:27:34 +00:00
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
2024-02-05 04:14:28 +00:00
|
|
|
"@rollup/plugin-replace": "5.0.4",
|
2024-07-08 09:31:20 +00:00
|
|
|
"@swc/core": "^1.6.13",
|
2023-11-10 06:20:50 +00:00
|
|
|
"@types/hash-sum": "^1.0.2",
|
2024-07-08 09:31:20 +00:00
|
|
|
"@types/node": "^20.14.10",
|
2024-02-26 01:15:57 +00:00
|
|
|
"@types/semver": "^7.5.8",
|
2024-06-17 03:51:58 +00:00
|
|
|
"@vitest/coverage-istanbul": "^1.6.0",
|
2024-02-19 08:41:21 +00:00
|
|
|
"@vue/consolidate": "1.0.0",
|
2023-09-21 12:32:56 +00:00
|
|
|
"conventional-changelog-cli": "^4.1.0",
|
2023-09-19 07:33:33 +00:00
|
|
|
"enquirer": "^2.4.1",
|
2024-07-08 10:02:53 +00:00
|
|
|
"esbuild": "^0.23.0",
|
2023-09-19 08:32:31 +00:00
|
|
|
"esbuild-plugin-polyfill-node": "^0.3.0",
|
2024-07-08 10:07:03 +00:00
|
|
|
"eslint": "^9.6.0",
|
|
|
|
"eslint-plugin-import-x": "^0.5.3",
|
2024-04-29 06:28:27 +00:00
|
|
|
"eslint-plugin-vitest": "^0.5.4",
|
2023-02-04 03:59:42 +00:00
|
|
|
"estree-walker": "^2.0.2",
|
2024-06-17 03:51:58 +00:00
|
|
|
"jsdom": "^24.1.0",
|
2024-06-17 03:55:15 +00:00
|
|
|
"lint-staged": "^15.2.7",
|
2023-09-19 07:33:33 +00:00
|
|
|
"lodash": "^4.17.21",
|
2024-04-22 07:04:41 +00:00
|
|
|
"magic-string": "^0.30.10",
|
2023-08-21 03:33:51 +00:00
|
|
|
"markdown-table": "^3.0.3",
|
2024-04-22 06:52:58 +00:00
|
|
|
"marked": "^12.0.2",
|
2024-07-08 09:31:20 +00:00
|
|
|
"npm-run-all2": "^6.2.2",
|
2024-05-20 13:40:41 +00:00
|
|
|
"picocolors": "^1.0.1",
|
2024-06-17 03:55:15 +00:00
|
|
|
"prettier": "^3.3.2",
|
2023-08-21 03:33:51 +00:00
|
|
|
"pretty-bytes": "^6.1.1",
|
2024-05-27 08:27:59 +00:00
|
|
|
"pug": "^3.0.3",
|
2024-07-08 10:02:28 +00:00
|
|
|
"puppeteer": "~22.12.1",
|
2024-07-15 08:22:03 +00:00
|
|
|
"rimraf": "^5.0.9",
|
2024-05-27 10:01:56 +00:00
|
|
|
"rollup": "^4.18.0",
|
2024-05-20 13:42:35 +00:00
|
|
|
"rollup-plugin-dts": "^6.1.1",
|
2024-02-05 03:37:25 +00:00
|
|
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
|
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
2024-05-13 09:09:13 +00:00
|
|
|
"semver": "^7.6.2",
|
2024-04-29 05:58:46 +00:00
|
|
|
"serve": "^14.2.3",
|
2024-04-01 13:53:40 +00:00
|
|
|
"simple-git-hooks": "^2.11.1",
|
2023-10-23 07:55:23 +00:00
|
|
|
"todomvc-app-css": "^2.4.3",
|
2024-06-10 07:05:46 +00:00
|
|
|
"tslib": "^2.6.3",
|
2024-07-08 09:31:20 +00:00
|
|
|
"tsx": "^4.16.2",
|
2024-04-15 05:36:43 +00:00
|
|
|
"typescript": "~5.4.5",
|
2024-07-08 10:07:03 +00:00
|
|
|
"typescript-eslint": "^7.15.0",
|
2024-07-08 12:06:37 +00:00
|
|
|
"vite": "catalog:",
|
2024-06-17 03:51:58 +00:00
|
|
|
"vitest": "^1.6.0"
|
2024-04-17 13:58:35 +00:00
|
|
|
},
|
|
|
|
"pnpm": {
|
|
|
|
"peerDependencyRules": {
|
|
|
|
"allowedVersions": {
|
|
|
|
"typescript-eslint>eslint": "^9.0.0",
|
|
|
|
"@typescript-eslint/eslint-plugin>eslint": "^9.0.0",
|
|
|
|
"@typescript-eslint/parser>eslint": "^9.0.0",
|
|
|
|
"@typescript-eslint/type-utils>eslint": "^9.0.0",
|
|
|
|
"@typescript-eslint/utils>eslint": "^9.0.0"
|
|
|
|
}
|
|
|
|
}
|
2018-09-19 15:35:38 +00:00
|
|
|
}
|
|
|
|
}
|