Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
129 lines (129 sloc)
4.17 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "vue", | |
"version": "2.7.0-alpha.6", | |
"packageManager": "[email protected]", | |
"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", | |
"dist/*.mjs", | |
"types/*.d.ts", | |
"compiler-sfc", | |
"packages/compiler-sfc" | |
], | |
"exports": { | |
".": { | |
"import": { | |
"node": "./dist/vue.runtime.mjs", | |
"default": "./dist/vue.runtime.esm.js" | |
}, | |
"require": "./dist/vue.runtime.common.js", | |
"types": "./types/index.d.ts" | |
}, | |
"./compiler-sfc": { | |
"import": "./compiler-sfc/index.mjs", | |
"require": "./compiler-sfc/index.js" | |
}, | |
"./dist/*": "./dist/*", | |
"./types/*": "./types/*" | |
}, | |
"sideEffects": false, | |
"scripts": { | |
"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 ", | |
"build": "node scripts/build.js", | |
"build:ssr": "npm run build -- runtime-cjs,server-renderer", | |
"build:types": "rimraf temp && tsc --declaration --emitDeclarationOnly --outDir temp && api-extractor run", | |
"test": "npm run ts-check && npm run test:types && npm run test:unit && npm run test:e2e && npm run test:ssr", | |
"test:unit": "vitest run test/unit", | |
"test:ssr": "npm run build:ssr && vitest run server-renderer", | |
"test:e2e": "npm run build -- full-prod,server-renderer-basic && vitest run test/e2e", | |
"test:transition": "karma start test/transition/karma.conf.js", | |
"test:types": "npm run build:types && tsc -p ./types/tsconfig.json", | |
"format": "prettier --write --parser typescript \"(src|test|packages|types)/**/*.ts\"", | |
"ts-check": "tsc -p tsconfig.json --noEmit", | |
"ts-check:test": "tsc -p test/tsconfig.json --noEmit", | |
"bench:ssr": "npm run build:ssr && node benchmarks/ssr/renderToString.js && node benchmarks/ssr/renderToStream.js", | |
"release": "node scripts/release.js", | |
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s" | |
}, | |
"gitHooks": { | |
"pre-commit": "lint-staged", | |
"commit-msg": "node scripts/verify-commit-msg.js" | |
}, | |
"lint-staged": { | |
"*.js": [ | |
"prettier --write" | |
], | |
"*.ts": [ | |
"prettier --parser=typescript --write" | |
] | |
}, | |
"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", | |
"dependencies": { | |
"@vue/compiler-sfc": "workspace:*", | |
"csstype": "^3.1.0" | |
}, | |
"devDependencies": { | |
"@microsoft/api-extractor": "^7.24.2", | |
"@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", | |
"@types/he": "^1.1.2", | |
"@types/node": "^17.0.30", | |
"chalk": "^4.0.0", | |
"conventional-changelog-cli": "^2.2.2", | |
"cross-spawn": "^7.0.3", | |
"de-indent": "^1.0.2", | |
"enquirer": "^2.3.6", | |
"esbuild": "^0.14.39", | |
"execa": "^4.0.0", | |
"he": "^1.2.0", | |
"jasmine-core": "^4.1.1", | |
"jsdom": "^19.0.0", | |
"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", | |
"lint-staged": "^12.4.1", | |
"lodash": "^4.17.21", | |
"marked": "^4.0.6", | |
"minimist": "^1.2.6", | |
"prettier": "^2.6.2", | |
"puppeteer": "^14.1.1", | |
"rimraf": "^3.0.2", | |
"rollup": "^2.70.2", | |
"rollup-plugin-typescript2": "^0.31.2", | |
"semver": "^7.3.7", | |
"shelljs": "^0.8.5", | |
"terser": "^5.13.1", | |
"todomvc-app-css": "^2.4.2", | |
"ts-node": "^10.7.0", | |
"tslib": "^2.4.0", | |
"typescript": "^4.6.4", | |
"vitest": "^0.12.6", | |
"yorkie": "^2.0.0" | |
} | |
} |