-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
125 lines (125 loc) · 3.02 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
{
"name": "holosun",
"description": "A DOM events API with delegation and type declarations.",
"version": "1.0.0",
"author": {
"name": "roydukkey",
"email": "contact@changelog.me",
"url": "http://changelog.me"
},
"license": "Apache-2.0",
"homepage": "https://github.com/roydukkey/holosun/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/roydukkey/holosun.git"
},
"bugs": {
"url": "https://github.com/roydukkey/holosun/issues"
},
"keywords": [
"browser",
"delegate",
"delegation",
"dom",
"domEvent",
"event",
"listener",
"live",
"once",
"selector"
],
"module": "./dist/holosun.js",
"types": "./dist/holosun.d.ts",
"main": "./dist/holosun.umd.js",
"exports": {
".": {
"node": {
"module": "./dist/holosun.js",
"require": "./dist/holosun.umd.js"
},
"default": "./dist/holosun.js"
}
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/preset-env": "^7.13.12",
"@babel/preset-typescript": "^7.13.0",
"@roydukkey/eslint-config": "^1.0.5",
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"@wessberg/rollup-plugin-ts": "^1.3.11",
"browserslist": "^4.16.4",
"babel-jest": "^26.6.3",
"clean-package": "^1.0.1",
"cspell": "^5.3.12",
"eslint": "^7.23.0",
"eslint-plugin-tsdoc": "^0.2.11",
"jest": "^26.6.3",
"rollup": "^2.44.0",
"rollup-plugin-license": "^2.3.0",
"terser": "^5.6.1",
"typescript": "^4.2.3",
"yarpm": "^1.1.1"
},
"scripts": {
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true })\"",
"lint": "yarpm run lint:spelling && yarpm run lint:es",
"lint:es": "eslint --ext js,ts ./",
"lint:spelling": "cspell --config './.vscode/cSpell.json' --no-progress '**/{.*/**/,.*/**/.,,.}*'",
"build": "yarpm run clean && rollup --config",
"minify": "terser $npm_package_module --compress --mangle --module -o $npm_package_module & terser $npm_package_main --compress --mangle -o $npm_package_main",
"test": "jest",
"prepack": "yarpm run lint && yarpm run build && yarpm run minify && yarpm run test -- --coverage=false --verbose=false && clean-package",
"new:pack": "yarpm pack && clean-package restore",
"new:publish": "yarpm publish && clean-package restore"
},
"clean-package": {
"indent": "\t",
"remove": [
"babel",
"browserslist",
"clean-package",
"eslintConfig",
"jest",
"scripts"
]
},
"jest": {
"testEnvironment": "jsdom",
"verbose": true,
"collectCoverage": true,
"coverageDirectory": ".jest/coverage",
"cacheDirectory": ".jest/cache"
},
"browserslist": [
"defaults"
],
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-typescript"
],
"comments": false
},
"eslintConfig": {
"ignorePatterns": [
"dist/*"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": [
"@roydukkey/eslint-config"
],
"rules": {
"@typescript-eslint/no-empty-interface": [
"error",
{
"allowSingleExtends": true
}
]
}
}
}