vue/package.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

137 lines
4.4 KiB
JSON
Raw Permalink Normal View History

2022-04-30 04:23:21 +08:00
{
"name": "vue",
2023-12-24 23:02:07 +08:00
"version": "2.7.16",
"packageManager": "pnpm@8.9.2",
2022-04-30 04:23:21 +08:00
"description": "Reactive, component-oriented view layer for modern web interfaces.",
"main": "dist/vue.runtime.common.js",
"module": "dist/vue.runtime.esm.js",
"unpkg": "dist/vue.js",
"jsdelivr": "dist/vue.js",
"typings": "types/index.d.ts",
"files": [
"src",
"dist/*.js",
2022-06-01 11:12:30 +08:00
"dist/*.mjs",
2022-05-31 15:32:44 +08:00
"types/*.d.ts",
"compiler-sfc",
"packages/compiler-sfc"
2022-04-30 04:23:21 +08:00
],
2022-06-01 10:11:19 +08:00
"exports": {
".": {
"types": "./types/index.d.ts",
2022-06-01 10:11:19 +08:00
"import": {
"node": "./dist/vue.runtime.mjs",
"default": "./dist/vue.runtime.esm.js"
},
"require": "./dist/vue.runtime.common.js"
2022-06-01 10:11:19 +08:00
},
"./compiler-sfc": {
"types": "./compiler-sfc/index.d.ts",
2022-06-01 10:11:19 +08:00
"import": "./compiler-sfc/index.mjs",
"require": "./compiler-sfc/index.js"
},
"./dist/*": "./dist/*",
2023-12-08 09:42:01 +08:00
"./types/*": [
"./types/*.d.ts",
"./types/*"
],
2022-06-10 22:51:41 +08:00
"./package.json": "./package.json"
2022-06-01 10:11:19 +08:00
},
2022-04-30 04:23:21 +08:00
"sideEffects": false,
"scripts": {
2022-05-31 15:32:44 +08:00
"dev": "rollup -w -c scripts/config.js --environment TARGET:full-dev",
"dev:cjs": "rollup -w -c scripts/config.js --environment TARGET:runtime-cjs-dev",
"dev:esm": "rollup -w -c scripts/config.js --environment TARGET:runtime-esm",
"dev:ssr": "rollup -w -c scripts/config.js --environment TARGET:server-renderer",
"dev:compiler": "rollup -w -c scripts/config.js --environment TARGET:compiler ",
2022-04-30 04:23:21 +08:00
"build": "node scripts/build.js",
2022-05-31 15:32:44 +08:00
"build:ssr": "npm run build -- runtime-cjs,server-renderer",
"build:types": "rimraf temp && tsc --declaration --emitDeclarationOnly --outDir temp && api-extractor run && api-extractor run -c packages/compiler-sfc/api-extractor.json",
"test": "npm run ts-check && npm run test:types && npm run test:unit && npm run test:e2e && npm run test:ssr && npm run test:sfc",
2022-05-20 16:55:05 +08:00
"test:unit": "vitest run test/unit",
2022-05-31 15:32:44 +08:00
"test:ssr": "npm run build:ssr && vitest run server-renderer",
"test:sfc": "vitest run compiler-sfc",
2022-05-31 15:32:44 +08:00
"test:e2e": "npm run build -- full-prod,server-renderer-basic && vitest run test/e2e",
2022-05-23 15:15:29 +08:00
"test:transition": "karma start test/transition/karma.conf.js",
2022-05-30 21:36:07 +08:00
"test:types": "npm run build:types && tsc -p ./types/tsconfig.json",
2022-05-27 17:27:17 +08:00
"format": "prettier --write --parser typescript \"(src|test|packages|types)/**/*.ts\"",
2022-05-20 14:35:56 +08:00
"ts-check": "tsc -p tsconfig.json --noEmit",
"ts-check:test": "tsc -p test/tsconfig.json --noEmit",
2022-04-30 04:23:21 +08:00
"bench:ssr": "npm run build:ssr && node benchmarks/ssr/renderToString.js && node benchmarks/ssr/renderToStream.js",
2022-05-31 17:17:14 +08:00
"release": "node scripts/release.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
2022-04-30 04:23:21 +08:00
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "node scripts/verify-commit-msg.js"
},
"lint-staged": {
"*.js": [
"prettier --write"
],
"*.ts": [
"prettier --parser=typescript --write"
2022-04-30 04:23:21 +08:00
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue.git"
},
"keywords": [
"vue"
],
"author": "Evan You",
"license": "MIT",
"bugs": {
"url": "https://github.com/vuejs/vue/issues"
},
"homepage": "https://github.com/vuejs/vue#readme",
2022-05-31 15:32:44 +08:00
"dependencies": {
2022-06-09 14:39:18 +08:00
"@vue/compiler-sfc": "workspace:*",
"csstype": "^3.1.0"
2022-05-31 15:32:44 +08:00
},
2022-04-30 04:23:21 +08:00
"devDependencies": {
2023-12-06 16:48:30 +08:00
"@babel/parser": "^7.23.5",
"@microsoft/api-extractor": "^7.25.0",
2022-04-30 04:23:21 +08:00
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
2022-04-30 04:23:21 +08:00
"@rollup/plugin-replace": "^4.0.0",
2022-04-30 16:07:01 +08:00
"@types/he": "^1.1.2",
2023-12-06 16:48:30 +08:00
"@types/node": "^20.10.3",
"chalk": "^4.1.2",
2022-05-31 17:17:14 +08:00
"conventional-changelog-cli": "^2.2.2",
2022-04-30 04:23:21 +08:00
"cross-spawn": "^7.0.3",
2022-05-31 17:17:14 +08:00
"enquirer": "^2.3.6",
2023-12-06 17:29:47 +08:00
"esbuild": "^0.19.8",
"execa": "^4.1.0",
2022-05-19 16:39:05 +08:00
"he": "^1.2.0",
"jasmine-core": "^4.2.0",
2022-05-19 18:21:26 +08:00
"jsdom": "^19.0.0",
2022-05-23 15:15:29 +08:00
"karma": "^6.3.20",
"karma-chrome-launcher": "^3.1.1",
"karma-cli": "^2.0.0",
"karma-esbuild": "^2.2.5",
2022-05-23 15:15:29 +08:00
"karma-jasmine": "^5.0.1",
"lint-staged": "^12.5.0",
2022-04-30 04:23:21 +08:00
"lodash": "^4.17.21",
"marked": "^4.0.16",
2022-05-31 17:17:14 +08:00
"minimist": "^1.2.6",
2022-06-14 15:35:30 +08:00
"postcss": "^8.4.14",
2022-05-20 18:21:53 +08:00
"prettier": "^2.6.2",
"puppeteer": "^14.3.0",
2022-05-30 21:36:07 +08:00
"rimraf": "^3.0.2",
2022-10-11 17:39:59 +08:00
"rollup": "^2.79.1",
"rollup-plugin-typescript2": "^0.32.0",
2022-05-31 17:17:14 +08:00
"semver": "^7.3.7",
2022-04-30 04:23:21 +08:00
"shelljs": "^0.8.5",
"terser": "^5.14.0",
2022-05-20 18:21:53 +08:00
"todomvc-app-css": "^2.4.2",
"ts-node": "^10.8.1",
2022-04-30 04:23:21 +08:00
"tslib": "^2.4.0",
2022-10-11 17:39:59 +08:00
"typescript": "^4.8.4",
2023-12-14 09:21:26 +08:00
"vitest": "^1.0.4",
2022-04-30 04:23:21 +08:00
"yorkie": "^2.0.0"
}
}