This repository has been archived by the owner on Sep 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.64 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": "@datawrapper/polyfills",
"version": "2.1.1",
"description": "",
"main": "dist/getBrowser.js",
"module": "dist/getBrowser.mjs",
"umd:main": "dist/getBrowser.umd.js",
"source": "src/getBrowser.js",
"files": [
"dist",
"polyfills"
],
"scripts": {
"prepublishOnly": "npm test && npm run build",
"test": "ava",
"dev": "microbundle --watch",
"build": "microbundle --name=getBrowser",
"download": "node -r esm scripts/download-polyfills.js",
"upload": "make upload",
"lint": "healthier **/*.js && prettier --check **/*.js",
"format": "healthier --fix **/*.js && prettier --write **/*.js"
},
"author": "Gregor Aisch",
"license": "ISC",
"devDependencies": {
"ava": "~3.10.1",
"babel-eslint": "~10.1.0",
"caniuse-api": "^3.0.0",
"esm": "~3.2.25",
"healthier": "~4.0.0",
"husky": "~4.2.5",
"lint-staged": "~10.2.11",
"lodash.range": "~3.2.0",
"microbundle": "~0.12.3",
"prettier": "^2.2.1",
"request": "~2.88.2",
"tap-xunit": "~2.4.1",
"useragent-generator": "~1.1.0"
},
"ava": {
"require": [
"esm"
]
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 100,
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"healthier",
"prettier --check"
]
}
}