mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 12:07:39 +08:00
165 lines
5.9 KiB
JSON
165 lines
5.9 KiB
JSON
{
|
|
"name": "vue",
|
|
"version": "2.6.14",
|
|
"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": {
|
|
"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:test": "karma start test/unit/karma.dev.config.js",
|
|
"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 ",
|
|
"dev:weex": "rollup -w -c scripts/config.js --environment TARGET:weex-framework",
|
|
"dev:weex:factory": "rollup -w -c scripts/config.js --environment TARGET:weex-factory",
|
|
"dev:weex:compiler": "rollup -w -c scripts/config.js --environment TARGET:weex-compiler ",
|
|
"build": "node scripts/build.js",
|
|
"build:ssr": "npm run build -- web-runtime-cjs,web-server-renderer",
|
|
"build:weex": "npm run build -- weex",
|
|
"test": "npm run lint && flow check && npm run test:types && npm run test:cover && npm run test:e2e -- --env phantomjs && npm run test:ssr && npm run test:weex",
|
|
"test:dtw": "npm run lint && npm run test:types && npm run test:cover && npm run test:e2e -- --env phantomjs && npm run test:ssr && npm run test:weex",
|
|
"test:unit": "karma start test/unit/karma.unit.config.js",
|
|
"test:cover": "karma start test/unit/karma.cover.config.js",
|
|
"test:e2e": "npm run build -- web-full-prod,web-server-basic-renderer && node test/e2e/runner.js",
|
|
"test:weex": "npm run build:weex && jasmine-ts JASMINE_CONFIG_PATH=test/weex/jasmine.js",
|
|
"test:ssr": "npm run build:ssr && jasmine JASMINE_CONFIG_PATH=test/ssr/jasmine.js",
|
|
"test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2",
|
|
"test:types": "tsc -p ./types/test/tsconfig.json",
|
|
"lint": "eslint src scripts test",
|
|
"flow": "flow check",
|
|
"ts-check": "tsc --noEmit",
|
|
"sauce": "karma start test/unit/karma.sauce.config.js",
|
|
"bench:ssr": "npm run build:ssr && node benchmarks/ssr/renderToString.js && node benchmarks/ssr/renderToStream.js",
|
|
"release": "bash scripts/release.sh",
|
|
"release:weex": "bash scripts/release-weex.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": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"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": {
|
|
"@babel/core": "^7.17.10",
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/plugin-syntax-jsx": "^7.16.7",
|
|
"@babel/plugin-transform-flow-strip-types": "^7.16.7",
|
|
"@babel/preset-env": "^7.17.10",
|
|
"@babel/register": "^7.17.7",
|
|
"@rollup/plugin-alias": "^3.1.9",
|
|
"@rollup/plugin-buble": "^0.21.3",
|
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
"@rollup/plugin-node-resolve": "^13.2.1",
|
|
"@rollup/plugin-replace": "^4.0.0",
|
|
"@types/node": "^17.0.30",
|
|
"@types/webpack": "^5.28.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
|
"@typescript-eslint/parser": "^5.21.0",
|
|
"acorn": "^8.7.1",
|
|
"acorn-walk": "^8.2.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
|
"babel-loader": "^8.2.5",
|
|
"babel-plugin-istanbul": "^6.1.1",
|
|
"babel-plugin-transform-vue-jsx": "^4.0.1",
|
|
"babel-preset-flow-vue": "^1.0.0",
|
|
"buble": "^0.20.0",
|
|
"chalk": "^5.0.1",
|
|
"chromedriver": "^100.0.0",
|
|
"codecov": "^3.8.3",
|
|
"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",
|
|
"es6-promise": "^4.2.8",
|
|
"escodegen": "^2.0.0",
|
|
"eslint": "^8.14.0",
|
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
"eslint-plugin-jasmine": "^4.1.3",
|
|
"file-loader": "^6.2.0",
|
|
"flow-bin": "^0.176.3",
|
|
"fsevents": "2.3.2",
|
|
"hash-sum": "^2.0.0",
|
|
"he": "^1.1.1",
|
|
"http-server": "^14.1.0",
|
|
"jasmine": "^4.1.0",
|
|
"jasmine-core": "^4.1.0",
|
|
"jasmine-ts": "^0.4.0",
|
|
"karma": "^6.3.19",
|
|
"karma-chrome-launcher": "^3.1.1",
|
|
"karma-coverage": "^2.2.0",
|
|
"karma-firefox-launcher": "^2.1.2",
|
|
"karma-jasmine": "^5.0.0",
|
|
"karma-mocha-reporter": "^2.2.3",
|
|
"karma-phantomjs-launcher": "^1.0.4",
|
|
"karma-safari-launcher": "^1.0.0",
|
|
"karma-sauce-launcher": "^4.3.6",
|
|
"karma-sourcemap-loader": "^0.3.8",
|
|
"karma-webpack": "^5.0.0",
|
|
"lint-staged": "^12.4.1",
|
|
"lodash": "^4.17.21",
|
|
"lodash.template": "^4.4.0",
|
|
"lodash.uniq": "^4.5.0",
|
|
"lru-cache": "^7.8.1",
|
|
"nightwatch": "^2.1.3",
|
|
"nightwatch-helpers": "^1.2.0",
|
|
"phantomjs-prebuilt": "^2.1.14",
|
|
"puppeteer": "^13.7.0",
|
|
"resolve": "^1.22.0",
|
|
"rollup": "^2.70.2",
|
|
"rollup-plugin-typescript2": "^0.31.2",
|
|
"selenium-server": "^3.141.59",
|
|
"serialize-javascript": "^6.0.0",
|
|
"shelljs": "^0.8.5",
|
|
"stream": "^0.0.2",
|
|
"terser": "^5.13.1",
|
|
"ts-loader": "^9.2.9",
|
|
"ts-node": "^10.7.0",
|
|
"tslib": "^2.4.0",
|
|
"typescript": "^4.6.4",
|
|
"webpack": "~5.72.0",
|
|
"weex-js-runtime": "^0.23.6",
|
|
"weex-styler": "^0.3.0",
|
|
"yorkie": "^2.0.0"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@types/he": "^1.1.2"
|
|
}
|
|
}
|