-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
80 lines (80 loc) · 2.38 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
{
"name": "@calvin_von/axios-api-module",
"version": "3.1.1",
"description": "Encapsulated api module based on axios",
"main": "lib/index.js",
"module": "es/index.js",
"typings": "./index.d.ts",
"scripts": {
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:lib": "cross-env BABEL_ENV=umd babel src --out-dir lib",
"build:dist": "cross-env BABEL_ENV=umd webpack --config webpack.config.js",
"test:unit": "cross-env BABEL_ENV=test mocha --require @babel/register",
"coverage:unit": "cross-env BABEL_ENV=test nyc mocha --require @babel/register",
"prepublish": "npm run build:es && npm run build:lib && npm run build:dist && npm run coverage:unit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CalvinVon/axios-api-module.git"
},
"keywords": [
"axios",
"api",
"module"
],
"author": "calvin_von",
"license": "ISC",
"bugs": {
"url": "https://github.com/CalvinVon/axios-api-module/issues"
},
"homepage": "https://github.com/CalvinVon/axios-api-module#readme",
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-transform-runtime": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@babel/register": "^7.10.1",
"@babel/runtime": "^7.10.2",
"axios": "^0.19.2",
"babel-loader": "^8.1.0",
"babel-plugin-add-module-exports": "^1.0.2",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"istanbul": "^0.4.5",
"mocha": "^7.2.0",
"nyc": "^15.1.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},
"nyc": {
"check-coverage": true,
"per-file": true,
"statements": 95,
"lines": 95,
"functions": 95,
"branches": 95,
"include": [
"src/*.js"
],
"exclude": [
"node_modules/",
"test/",
"lib/",
"es/",
"dist/",
"example/"
],
"reporter": [
"lcov",
"text",
"text-summary"
],
"extension": [
".js"
],
"cache": false
},
"dependencies": {}
}