-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
71 lines (71 loc) · 1.78 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
{
"name": "@nrk/rfetch",
"version": "1.1.0",
"description": "rfetch - fetch with retry",
"main": "./lib/rfetch.js",
"module": "./lib/rfetch.mjs",
"typings": "./lib/rfetch.d.ts",
"browser": {
"./lib/rfetch.js": "./lib/rfetch.web.js",
"./lib/rfetch.mjs": "./lib/rfetch.web.mjs"
},
"repository": {
"type": "git",
"url": "[email protected]:nrkno/rfetch.git"
},
"license": "MIT",
"directories": {
"lib": "lib"
},
"files": [
"dist",
"lib"
],
"scripts": {
"prepack": "npm run lint && npm run build && npm run test",
"lint": "standard",
"clean": "rimraf dist lib",
"build": "npm run clean && npm run rollup && npm run typings",
"rollup": "rollup -c .rollup/rollup.config.js",
"typings": "cp typings/rfetch.d.ts lib/rfetch.d.ts",
"test": "npm run test:src && npm run test:lib && npm run test:dist",
"test:src": "BABEL_ENV=test jest test/src/**",
"test:lib": "BABEL_ENV=test jest test/lib/**",
"test:dist": "BABEL_ENV=test jest test/dist/**"
},
"devDependencies": {
"@babel/core": "7.1.6",
"abort-controller": "1.0.2",
"babel-preset-env": "1.7.0",
"ghooks": "2.0.4",
"jest": "23.6.0",
"nock": "10.0.2",
"node-fetch": "2.3.0",
"rimraf": "2.6.2",
"rollup": "0.67.3",
"rollup-plugin-babel": "4.0.3",
"rollup-plugin-buble": "0.19.4",
"rollup-plugin-cleanup": "3.0.0",
"rollup-plugin-node-resolve": "3.4.0",
"rollup-plugin-replace": "2.1.0",
"rollup-plugin-uglify": "6.0.0",
"standard": "12.0.1",
"whatwg-fetch": "3.0.0"
},
"dependencies": {},
"babel": {
"env": {
"test": {
"presets": [
"env"
]
}
}
},
"config": {
"ghooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run test:src"
}
}
}