-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
37 lines (37 loc) · 1.06 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
{
"name": "@paguro/browser-detection",
"version": "0.2.0",
"author": "Paguro Team",
"license": "MIT",
"description": "JavaScript library for detecting browsers and platforms using feature testing.",
"main": "./browser-detection.js",
"scripts": {
"clean": "rm -f dist/browser-detection*.js",
"build": "rollup -c",
"dev": "rollup -c -w",
"prettify": "prettier --single-quote --write './*.js' 'src/**/*.js' 'scripts/**/*.js' 'testing/**/*.js'",
"bom-diff": "node ./scripts/bom-diff.js",
"bom-purify": "node ./scripts/bom-purify.js",
"test": "yarn build && jest --testMatch='<rootDir>/testing/runner.js'",
"release": "yarn clean && yarn build && ./scripts/publish.sh"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged"
}
},
"lint-staged": {
"src/**/*.js": [
"yarn prettify"
]
},
"devDependencies": {
"husky": "^4.2.3",
"jest": "^25.1.0",
"lint-staged": "10.0.8",
"prettier": "^1.19.1",
"rollup": "^2.0.6",
"rollup-plugin-uglify": "^6.0.4",
"minimist": "^1.2.2"
}
}