2022-04-30 04:23:21 +08:00
|
|
|
{
|
|
|
|
"name": "vue",
|
|
|
|
"version": "2.6.14",
|
2022-05-20 14:35:56 +08:00
|
|
|
"packageManager": "pnpm@7.1.0",
|
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",
|
|
|
|
"types/*.d.ts"
|
|
|
|
],
|
|
|
|
"sideEffects": false,
|
|
|
|
"scripts": {
|
2022-05-19 16:18:36 +08:00
|
|
|
"dev": "rollup -w -c scripts/config.js --environment TARGET:web-full-dev",
|
|
|
|
"dev:cjs": "rollup -w -c scripts/config.js --environment TARGET:web-runtime-cjs-dev",
|
|
|
|
"dev:esm": "rollup -w -c scripts/config.js --environment TARGET:web-runtime-esm",
|
|
|
|
"dev:ssr": "rollup -w -c scripts/config.js --environment TARGET:web-server-renderer",
|
|
|
|
"dev:compiler": "rollup -w -c scripts/config.js --environment TARGET:web-compiler ",
|
2022-04-30 04:23:21 +08:00
|
|
|
"build": "node scripts/build.js",
|
|
|
|
"build:ssr": "npm run build -- web-runtime-cjs,web-server-renderer",
|
2022-05-20 14:35:56 +08:00
|
|
|
"test": "npm run lint && npm run ts-check && npm run test:types && npm run test:unit && npm run test:e2e",
|
2022-05-20 16:55:05 +08:00
|
|
|
"test:unit": "vitest run test/unit",
|
2022-05-20 16:59:55 +08:00
|
|
|
"test:ssr": "npm run build:ssr && vitest run test/ssr",
|
2022-05-20 18:24:45 +08:00
|
|
|
"test:e2e": "npm run build -- web-full-prod,web-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-04 01:04:55 +08:00
|
|
|
"test: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",
|
|
|
|
"release": "bash scripts/release.sh",
|
|
|
|
"release:note": "node scripts/gen-release-note.js",
|
|
|
|
"commit": "git-cz"
|
|
|
|
},
|
|
|
|
"gitHooks": {
|
|
|
|
"pre-commit": "lint-staged",
|
|
|
|
"commit-msg": "node scripts/verify-commit-msg.js"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
2022-05-23 17:21:17 +08:00
|
|
|
"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",
|
|
|
|
"devDependencies": {
|
|
|
|
"@rollup/plugin-alias": "^3.1.9",
|
|
|
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
|
|
"@rollup/plugin-node-resolve": "^13.2.1",
|
|
|
|
"@rollup/plugin-replace": "^4.0.0",
|
2022-04-30 16:07:01 +08:00
|
|
|
"@types/he": "^1.1.2",
|
2022-04-30 04:23:21 +08:00
|
|
|
"@types/node": "^17.0.30",
|
|
|
|
"acorn": "^8.7.1",
|
|
|
|
"acorn-walk": "^8.2.0",
|
2022-05-19 16:08:46 +08:00
|
|
|
"chalk": "^4.0.0",
|
2022-04-30 04:23:21 +08:00
|
|
|
"commitizen": "^4.2.4",
|
|
|
|
"conventional-changelog": "^3.1.25",
|
|
|
|
"cross-spawn": "^7.0.3",
|
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
|
|
"de-indent": "^1.0.2",
|
2022-05-23 15:15:29 +08:00
|
|
|
"esbuild": "^0.14.39",
|
2022-04-30 04:23:21 +08:00
|
|
|
"escodegen": "^2.0.0",
|
2022-05-20 16:55:05 +08:00
|
|
|
"file-loader": "^3.0.1",
|
2022-04-30 04:23:21 +08:00
|
|
|
"hash-sum": "^2.0.0",
|
2022-05-19 16:39:05 +08:00
|
|
|
"he": "^1.2.0",
|
2022-05-23 15:15:29 +08:00
|
|
|
"jasmine-core": "^4.1.1",
|
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.4",
|
|
|
|
"karma-jasmine": "^5.0.1",
|
2022-04-30 04:23:21 +08:00
|
|
|
"lint-staged": "^12.4.1",
|
|
|
|
"lodash": "^4.17.21",
|
|
|
|
"lodash.template": "^4.4.0",
|
|
|
|
"lodash.uniq": "^4.5.0",
|
|
|
|
"lru-cache": "^7.8.1",
|
2022-05-20 18:21:53 +08:00
|
|
|
"marked": "^3.0.8",
|
2022-05-20 12:01:16 +08:00
|
|
|
"memory-fs": "^0.5.0",
|
2022-05-23 17:21:17 +08:00
|
|
|
"prettier": "^2.6.2",
|
2022-05-20 18:21:53 +08:00
|
|
|
"puppeteer": "^14.1.1",
|
2022-04-30 04:23:21 +08:00
|
|
|
"resolve": "^1.22.0",
|
|
|
|
"rollup": "^2.70.2",
|
|
|
|
"rollup-plugin-typescript2": "^0.31.2",
|
|
|
|
"serialize-javascript": "^6.0.0",
|
|
|
|
"shelljs": "^0.8.5",
|
2022-05-20 12:01:16 +08:00
|
|
|
"source-map": "0.5.6",
|
2022-04-30 04:23:21 +08:00
|
|
|
"terser": "^5.13.1",
|
2022-05-20 18:21:53 +08:00
|
|
|
"todomvc-app-css": "^2.4.2",
|
2022-04-30 04:23:21 +08:00
|
|
|
"ts-node": "^10.7.0",
|
|
|
|
"tslib": "^2.4.0",
|
|
|
|
"typescript": "^4.6.4",
|
2022-05-19 16:29:22 +08:00
|
|
|
"vitest": "^0.12.6",
|
2022-05-20 16:55:05 +08:00
|
|
|
"webpack": "^4.46.0",
|
2022-04-30 04:23:21 +08:00
|
|
|
"yorkie": "^2.0.0"
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|