-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
82 lines (82 loc) · 2.37 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
81
82
{
"name": "@clearc2/headlamp",
"version": "2.5.1",
"description": "Express API documenter",
"main": "lib/index.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "concurrently -k -p \"[{name}]\" -n \"Server,React\" \"npm run server\" \"npm run react\"",
"react": "cd api-explorer && cross-env NODE_ENV=development webpack-dev-server --hot --env mode=development",
"server": "BABEL_MODULES=cjs cross-env nodemon test-api/server.js --watch src --watch test-api --watch 'test-src/**/_headlamp/**/*' --exec babel-node",
"build": "npm run build-backend && npm run build-frontend",
"build-backend": "cross-env BABEL_MODULES=cjs babel -d lib/ src/",
"build-frontend": "cd api-explorer && cross=env NODE_ENV=production webpack --env mode=production",
"babel-node": "babel-node",
"cm": "git-cz",
"semantic-release": "semantic-release"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"branch": "master",
"extends": "c2-semantic-release",
"npmPublish": true,
"publish": [
"@semantic-release/github",
"@semantic-release/npm"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.js": "eslint",
"test/**/*.js": "eslint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ClearC2/headlamp.git"
},
"author": "Clear C2, Inc.",
"license": "ISC",
"bugs": {
"url": "https://github.com/ClearC2/headlamp/issues"
},
"homepage": "https://github.com/ClearC2/headlamp#readme",
"devDependencies": {
"@clearc2/c2-react-config": "^8.0.0",
"@hot-loader/react-dom": "^16.8.6",
"axios": "^0.19.0",
"c2-semantic-release": "ClearC2/c2-semantic-release#^1.0.0",
"concurrently": "^3.5.1",
"cors": "^2.8.4",
"cross-env": "^5.1.6",
"express": "^4.16.3",
"lodash": "^4.17.11",
"markdown-it": "^8.4.1",
"moment": "^2.22.1",
"nodemon": "^1.17.5",
"open-iconic": "^1.1.1",
"path-to-regexp": "^2.2.1",
"prop-types": "^15.6.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-paginate": "^5.2.3",
"react-router-dom": "^4.2.2",
"react-syntax-highlighter": "^7.0.4"
},
"peerDependencies": {
"express": "^4.0.0"
},
"dependencies": {
"glob": "^7.1.2",
"react-spinners": "^0.13.8"
}
}