forked from vuejs/composition-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.22 KB
/
package.json
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
{
"name": "@vue/composition-api",
"version": "1.0.0-beta.11",
"description": "Provide logic composition capabilities for Vue.",
"keywords": [
"vue",
"composition-api",
"function-api"
],
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/composition-api.git"
},
"main": "index.js",
"module": "dist/vue-composition-api.esm.js",
"unpkg": "dist/vue-composition-api.prod.js",
"jsdelivr": "dist/vue-composition-api.prod.js",
"typings": "dist/index.d.ts",
"author": {
"name": "liximomo",
"email": "liximomo@gmail.com"
},
"license": "MIT",
"sideEffects": false,
"files": [
"dist",
"index.js"
],
"scripts": {
"start": "concurrently \"tsc --emitDeclarationOnly -w\" \"cross-env rollup -c -w\"",
"build": "rimraf dist typings && tsc --emitDeclarationOnly && rollup -c",
"lint": "prettier --write --parser typescript \"{src,test,test-dts}/**/*.ts?(x)\" && prettier --write \"{src,test}/**/*.js\"",
"test": "yarn test-dts && yarn test-unit",
"test-unit": "cross-env NODE_ENV=test jest",
"test-dts": "tsc -p ./test-dts/tsconfig.json && yarn build && tsc -p ./test-dts/tsconfig.build.json",
"update-readme": "node ./scripts/update-readme.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"version": "yarn changelog && yarn update-readme && git add CHANGELOG.md README.*",
"release": "yarn version && yarn test && yarn publish --non-interactive && git push --follow-tags",
"release-gh": "conventional-github-releaser -p angular"
},
"bugs": {
"url": "https://github.com/vuejs/composition-api/issues"
},
"homepage": "https://github.com/vuejs/composition-api#readme",
"devDependencies": {
"@rollup/plugin-node-resolve": "8.4.0",
"@rollup/plugin-replace": "^2.3.3",
"@types/jest": "^26.0.9",
"@types/node": "^14.0.27",
"concurrently": "^5.3.0",
"conventional-changelog-cli": "^2.0.35",
"conventional-github-releaser": "^3.1.5",
"cross-env": "^7.0.2",
"husky": "^4.2.5",
"jest": "^26.3.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"rollup": "^2.23.1",
"rollup-plugin-dts": "^1.4.10",
"rollup-plugin-terser": "^7.0.0",
"rollup-plugin-typescript2": "^0.27.2",
"ts-jest": "^26.1.4",
"typescript": "^3.9.7",
"vue": "^2.6.11",
"vue-router": "^3.4.2",
"vue-server-renderer": "^2.6.11"
},
"peerDependencies": {
"vue": ">= 2.5 < 3"
},
"dependencies": {
"tslib": "^2.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
],
"*.ts?(x)": [
"prettier --parser=typescript --write",
"git add"
]
},
"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
}
}