-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.05 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
{
"name": "hash-actions",
"description": "A utility for working with the hashchange event and window.location.hash.",
"license": "Apache-2.0",
"author": "Kari Söderholm <[email protected]>",
"homepage": "https://github.com/Haprog/hash-actions#readme",
"repository": {
"type": "git",
"url": "https://github.com/Haprog/hash-actions.git"
},
"bugs": {
"url": "https://github.com/Haprog/hash-actions/issues"
},
"version": "0.1.0",
"main": "./lib/hash-actions.min.js",
"exports": {
".": "./lib/hash-actions.min.js",
"./hash-actions.js": "./lib/hash-actions.js",
"./hash-actions.min.js": "./lib/hash-actions.min.js"
},
"scripts": {
"build": "npm run build-nomin && npm run build-min",
"build-nomin": "babel src/hash-actions.js -o lib/hash-actions.js -s",
"build-min": "cross-env BABEL_ENV=production babel src/hash-actions.js -o lib/hash-actions.min.js",
"build-docs": "jsdoc -c ./docs/jsdoc.json",
"docs": "npm run build-docs && npx http-server -c-1 ./docs/out",
"lint": "eslint src test && prettier --check --loglevel=warn .",
"lint:fix": "eslint src test --fix && prettier --write --loglevel=warn .",
"test": "wtr --coverage",
"test:watch": "wtr --watch",
"prepare": "husky install",
"prepack": "npm run build"
},
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.12",
"@babel/preset-env": "^7.16.11",
"@open-wc/testing": "next",
"@web/test-runner": "next",
"babel-preset-minify": "^0.5.1",
"cross-env": "^7.0.3",
"deepmerge": "^4.2.2",
"eslint": "^8.7.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.4",
"jsdoc": "~3.6.9",
"lint-staged": "^12.3.1",
"minami": "^1.2.3",
"prettier": "^2.5.1",
"sinon": "^12.0.1"
},
"keywords": [
"hashchange",
"hash",
"window.location.hash",
"utility"
],
"lint-staged": {
"*.{js,cjs,mjs}": "eslint --fix",
"*.{js,cjs,mjs,json,css,md}": "prettier --write"
},
"funding": "https://paypal.me/haprog"
}