forked from justinribeiro/html5-dragdroptouch-shim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 2.73 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
{
"name": "@justinribeiro/html5-dragdroptouch-shim",
"description": "An opinionated shim that polyfills HTML5 drag and drop support on mobile devices with Event.ComposedPath() support",
"author": "Justin Ribeiro <[email protected]>",
"repository": {
"type": "git",
"url": "[email protected]:justinribeiro/html5-dragdroptouch-shim.git"
},
"license": "MIT",
"version": "0.1.3",
"main": "index.js",
"module": "index.js",
"files": [
"dist/**/*",
"src/**/*",
"index.*"
],
"scripts": {
"dev": "yarn es-dev-server --app-index ./demo/index.html --node-resolve --open",
"dev:compatibility": "yarn es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch",
"lint:eslint": "yarn eslint --ext .js src/ ",
"format:eslint": "yarn eslint --ext .js src/ --fix",
"lint:prettier": "yarn prettier \"src/**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
"format:prettier": "yarn prettier \"src/**/*.js\" --write",
"lint": "yarn lint:eslint && yarn lint:prettier",
"format": "yarn format:eslint && yarn format:prettier",
"build:dist": "yarn rollup -c",
"prepublishOnly": "yarn build:dist"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@open-wc/eslint-config": "^2.0.5",
"@open-wc/prettier-config": "^1.1.0",
"@types/eslint": "^4.16.6",
"es-dev-server": "^1.26.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-jest": "^23.8.2",
"husky": "^4.2.5",
"jest": "^25.5.0",
"jsdoc": "^3.6.4",
"lint-staged": "^10.2.0",
"prettier": "^2.0.5",
"rollup": "^2.17.1",
"rollup-plugin-filesize": "^9.0.1",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-terser": "^6.1.0"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
],
"rules": {
"no-param-reassign": "off",
"class-methods-use-this": "off",
"no-empty": "off",
"no-multi-assign": "off",
"prefer-destructuring": "off",
"no-console": "error",
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
]
}
},
"prettier": "@open-wc/prettier-config",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.js": [
"yarn format:eslint",
"yarn format:prettier"
]
},
"type": "module",
"keywords": [
"dragdrop",
"shadowdom",
"web components",
"html5",
"touch"
]
}