-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
133 lines (133 loc) · 3.56 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "@u3u/vue-hooks",
"description": "⚡️ Awesome Vue Hooks",
"version": "2.0.1",
"publishConfig": {
"access": "public"
},
"keywords": [
"vue",
"vue-use",
"vue-hooks",
"vue-function-api",
"vue-composition-api"
],
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"files": [
"lib/",
"esm/"
],
"scripts": {
"start": "yarn storybook",
"storybook": "start-storybook -p 3000",
"storybook:build": "build-storybook",
"test": "jest",
"test:watch": "jest --watch",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir esm",
"build": "yarn clean && yarn build:cjs && yarn build:es",
"clean": "rimraf lib esm",
"lint": "eslint 'src/**/*.ts'",
"lint:types": "tsc --noEmit",
"lint:prettier": "prettier '**/*.{ts,md,mdx}' --check",
"format": "prettier '**/*.{ts,md,mdx}' --write",
"release": "semantic-release",
"prepublishOnly": "yarn test && yarn build"
},
"author": {
"name": "u3u",
"email": "[email protected]",
"url": "https://qwq.cat"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/u3u/vue-hooks"
},
"bugs": {
"url": "https://github.com/u3u/vue-hooks/issues"
},
"homepage": "https://github.com/u3u/vue-hooks#readme",
"engines": {
"node": ">=10.16.0"
},
"dependencies": {
"dayjs": "^1.8.15"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.3.3",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@semantic-release/changelog": "^3.0.4",
"@semantic-release/git": "^7.0.16",
"@storybook/addon-knobs": "^5.1.11",
"@storybook/addon-notes": "^5.1.11",
"@storybook/theming": "^5.1.11",
"@storybook/vue": "^5.1.11",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.2",
"@types/storybook__vue": "^5.0.2",
"@typescript-eslint/parser": "^2.0.0",
"@vue/babel-preset-jsx": "^1.1.0",
"@vue/composition-api": "^0.2.0",
"@vue/test-utils": "^1.0.0-beta.29",
"all-contributors-cli": "^6.8.1",
"babel-loader": "^8.0.6",
"babel-preset-vue": "^2.0.2",
"eslint": "^6.2.2",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.0",
"github-markdown-css": "^3.0.1",
"jest": "^24.8.0",
"lint-staged": "^9.2.3",
"markdown-it": "^9.1.0",
"markdown-it-highlight-lines": "^1.0.2",
"markdown-it-link-attributes": "^2.1.0",
"markdown-it-loader": "^0.7.0",
"markdown-it-prism": "^2.0.2",
"match-media-mock": "^0.1.1",
"prettier": "^1.18.2",
"prismjs": "^1.17.1",
"rimraf": "^3.0.0",
"semantic-release": "^15.13.24",
"typescript": "^3.5.3",
"vue": "^2.6.10",
"vue-loader": "^15.7.1",
"vue-router": "^3.1.2",
"vue-template-compiler": "^2.6.10",
"vue-tsx-support": "^2.3.1",
"vuex": "^3.1.1",
"yorkie": "^2.0.0"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E GIT_PARAMS"
},
"lint-staged": {
"*.ts": [
"eslint --fix"
],
"*.{ts,md,mdx}": [
"prettier --write",
"prettier --check",
"git add"
]
}
}