-
Notifications
You must be signed in to change notification settings - Fork 88
/
package.json
74 lines (74 loc) · 2.36 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
{
"name": "v-click-outside",
"version": "3.2.0",
"description": "Vue directive to react on clicks outside an element",
"main": "dist/v-click-outside.umd.js",
"umd:main": "dist/v-click-outside.umd.js",
"source": "src/index.js",
"scripts": {
"test": "npm run use-vue:2 && jest --coverage --testPathIgnorePatterns \".(isomorphic.test.js)$\"",
"test:isomorphic": "npm run use-vue:2 && jest --testPathPattern \".(isomorphic.test.js)$\"",
"test:isomorphic3": "npm run use-vue:3 && jest --testPathPattern \".(isomorphic.test.js)$\"",
"test:watch": "jest --colors --watch ",
"coverage": "open coverage/lcov-report/index.html",
"build": "microbundle --entry src/index.js --target browser --format umd --name v-click-outside",
"lint": "eslint . --ext .js",
"format": "prettier --write '**/*.{js,json,md}'",
"format:changed": "pretty-quick",
"format:staged": "pretty-quick --staged",
"release": "np",
"version": "npm run build",
"use-vue:2": "node scripts/swap-vue.js 2",
"use-vue:3": "node scripts/swap-vue.js 3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ndelvalle/v-click-outside.git"
},
"author": "ndelvalle <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ndelvalle/v-click-outside/issues"
},
"homepage": "https://github.com/ndelvalle/v-click-outside#readme",
"devDependencies": {
"@babel/preset-env": "^7.11.0",
"@vue/composition-api": "^1.7.0",
"@vue/test-utils": "^1.3.0",
"@vue/test-utils-vue3": "npm:@vue/test-utils@^2.0.2",
"babel-core": "^6.26.3",
"babel-jest": "^26.3.0",
"babel-preset-es2015": "^6.24.1",
"eslint": "^7.7.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"jest": "^26.4.2",
"jest-cli": "^26.4.2",
"lodash": "^4.17.20",
"microbundle": "^0.15.0",
"np": "^7.2.0",
"prettier": "^2.1.1",
"pretty-quick": "^3.0.0",
"vue": "^2.6.14",
"vue-template-compiler": "^2.6.14",
"vue3": "npm:vue@^3.2.37"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**"
],
"roots": [
"test/"
]
},
"engines": {
"node": ">=6"
},
"peerDependencies": {
"vue": "^2.6.0 || >=3.2.0"
}
}