-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
60 lines (60 loc) · 1.49 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
{
"name": "element-closest",
"version": "3.0.2",
"description": "Return the closest element matching a selector up the DOM tree",
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
"license": "CC0-1.0",
"repository": "jonathantneal/closest",
"homepage": "https://github.com/jonathantneal/closest#readme",
"bugs": "https://github.com/jonathantneal/closest/issues",
"main": "index.js",
"module": "index.mjs",
"unpkg": "browser.js",
"jsdelivr": "browser.js",
"files": [
"browser.js",
"index.js",
"index.js.map",
"index.mjs",
"index.mjs.map"
],
"scripts": {
"build": "npm run build:node && npm run build:browser",
"build:node": "rollup --config",
"build:browser": "cross-env NODE_ENV=browser rollup --config",
"prepublish": "npm run test && npm run build",
"test": "eslint src/*.js --cache --ignore-path .gitignore --quiet"
},
"engines": {
"node": ">=0.12.0"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/preset-env": "^7.6.3",
"babel-eslint": "^10.0.3",
"cross-env": "^6.0.3",
"eslint": "^6.6.0",
"eslint-config-dev": "^2.0.0",
"pre-commit": "^1.2.2",
"rollup": "^1.26.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-terser": "^5.1.2"
},
"eslintConfig": {
"extends": "dev",
"parser": "babel-eslint"
},
"keywords": [
"javascript",
"js",
"dom",
"document",
"element",
"node",
"closest",
"matches",
"polyfill",
"web",
"standard"
]
}