1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
| {
| "name": "@vue/composition-api",
| "version": "1.7.0",
| "packageManager": "pnpm@7.0.0",
| "description": "Provide logic composition capabilities for Vue.",
| "keywords": [
| "vue",
| "composition-api"
| ],
| "repository": {
| "type": "git",
| "url": "git+https://github.com/vuejs/composition-api.git"
| },
| "main": "./index.js",
| "module": "./dist/vue-composition-api.mjs",
| "unpkg": "./dist/vue-composition-api.prod.js",
| "jsdelivr": "./dist/vue-composition-api.prod.js",
| "types": "./dist/vue-composition-api.d.ts",
| "exports": {
| ".": {
| "import": "./dist/vue-composition-api.mjs",
| "require": "./index.js"
| },
| "./*": "./*"
| },
| "author": {
| "name": "liximomo",
| "email": "liximomo@gmail.com"
| },
| "license": "MIT",
| "sideEffects": false,
| "files": [
| "dist",
| "index.js"
| ],
| "scripts": {
| "start": "rollup -c -w",
| "build": "rimraf dist && rollup -c",
| "lint": "prettier --write --parser typescript \"{src,test,test-dts}/**/*.ts?(x)\" && prettier --write \"{src,test}/**/*.js\"",
| "test": "cross-env NODE_ENV=test jest",
| "test:all": "pnpm run test && pnpm run test:dts",
| "test:dts": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.vue3.json && pnpm run build && tsc -p ./test-dts/tsconfig.build.json",
| "update-readme": "node ./scripts/update-readme.js",
| "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && pnpm run update-readme && git add CHANGELOG.md README.*",
| "release": "bumpp -x \"npm run changelog\" --all --tag --commit --push && npm publish",
| "release-gh": "conventional-github-releaser -p angular",
| "prepublishOnly": "npm run build"
| },
| "bugs": {
| "url": "https://github.com/vuejs/composition-api/issues"
| },
| "homepage": "https://github.com/vuejs/composition-api#readme",
| "peerDependencies": {
| "vue": ">= 2.5 < 2.7"
| },
| "devDependencies": {
| "@rollup/plugin-node-resolve": "^13.3.0",
| "@rollup/plugin-replace": "^4.0.0",
| "@types/jest": "^26.0.24",
| "@types/node": "^17.0.31",
| "bumpp": "^7.1.1",
| "conventional-changelog-cli": "^2.2.2",
| "conventional-github-releaser": "^3.1.5",
| "cross-env": "^7.0.3",
| "jest": "^26.6.3",
| "lint-staged": "^12.4.1",
| "prettier": "^2.6.2",
| "rimraf": "^3.0.2",
| "rollup": "^2.72.0",
| "rollup-plugin-dts": "^4.2.1",
| "rollup-plugin-terser": "^7.0.2",
| "rollup-plugin-typescript2": "^0.31.2",
| "simple-git-hooks": "^2.7.0",
| "ts-jest": "^26.5.6",
| "tslib": "^2.4.0",
| "typescript": "^4.6.4",
| "vue": "^2.6.14",
| "vue-router": "^3.5.3",
| "vue-server-renderer": "^2.6.14",
| "vue3": "npm:vue@3.2.21"
| },
| "simple-git-hooks": {
| "pre-commit": "lint-staged"
| },
| "lint-staged": {
| "*.js": [
| "prettier --write"
| ],
| "*.ts?(x)": [
| "prettier --parser=typescript --write"
| ]
| },
| "jest": {
| "verbose": true,
| "globals": {
| "__DEV__": true,
| "__VERSION__": "0.0.0"
| },
| "setupFiles": [
| "<rootDir>/test/setupTest.js"
| ],
| "setupFilesAfterEnv": [
| "<rootDir>/test/helpers/wait-for-update.js"
| ],
| "moduleFileExtensions": [
| "ts",
| "js"
| ],
| "testMatch": [
| "<rootDir>/test/**/*.spec.{js,ts}"
| ],
| "preset": "ts-jest"
| },
| "prettier": {
| "semi": false,
| "singleQuote": true,
| "printWidth": 80
| }
| }
|
|