-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.73 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
{
"name": "@nitm/js-api-client-base",
"version": "1.2.1",
"description": "Javascript API client base. Use this to develop services for react, vue or others using axios",
"main": "./dist/index.js",
"types": "./dist/types.d.ts",
"files": [
"/dist",
"CHANGELOG",
"README"
],
"scripts": {
"lint": "tsc",
"test": "ts-mocha -p tsconfig.json test/*.spec.ts",
"build": "tsc",
"prepare": "npm run build",
"build:version": "cross-env replace -s 'VERSION = \"[^\"]+\"' \"VERSION = \\\"$npm_package_version\\\"\" src/index.js"
},
"repository": {
"type": "git",
"url": "git+https://gitlab.com/nitm/js-api-client-base.git"
},
"author": "Malcolm Paul <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://gitlab.com/nitm/js-api-client-base/issues"
},
"homepage": "https://gitlab.com/nitm/js-api-client-base#readme",
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/node": "^7.6.3",
"@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/plugin-proposal-export-namespace-from": "^7.5.2",
"@babel/preset-env": "^7.6.3",
"@babel/register": "^7.6.2",
"@types/expect": "^24.3.0",
"@types/mocha": "^8.0.4",
"chai": "^4.2.0",
"cross-env": "^5.2.1",
"jshint": "^2.9.6",
"lint-staged": "^9.5.0",
"mocha": "^6.2.2",
"node-qunit-phantomjs": "^2.1.0",
"nodemon": "^1.19.4",
"replace": "^1.1.1",
"rimraf": "^2.7.1",
"ts-mocha": "^8.0.0",
"typescript": "^4.1.2",
"uglify-js": "^3.6.4"
},
"dependencies": {
"axios": "^0.19.0",
"js-logger": "^1.6.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [
"npm run build",
"git add"
]
}
}