-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
executable file
·48 lines (48 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
{
"name": "template-node-react",
"version": "1.0.0",
"org": "yourorg",
"description": "12 UI Patterns written with React and Node.js",
"private": true,
"engines": {
"node": "^16.0.0"
},
"scripts": {
"start": "node server/server.js",
"start:dev": "cd client && npm start",
"debug": "chmod +x run-debug && ./run-debug",
"test": "cd client && npm test",
"tdd": "cd client && npm run tdd",
"dev": "nodemon server/server.js",
"build": "cd client && npm run build",
"build:image": "./scripts/build.sh $npm_package_name $npm_package_version",
"pretest:image": "npm run build:image",
"test:image": "npm run test:only",
"test:only": "./scripts/test.sh $npm_package_name $npm_package_version",
"prepush": "npm test",
"push": "npm run push:only",
"push:only": "./scripts/publish.sh $npm_package_org $npm_package_name $npm_package_version",
"pull": "./scripts/pull.sh $npm_package_org $npm_package_name $npm_package_version",
"start:image": "docker run -p 3001:3000 $npm_package_name:$npm_package_version ",
"test:coverage": "cd client && npm run test:coverage",
"sonarqube:scan": "npm run test:coverage && node test/sonarqube-scan"
},
"author": "IBM Garage for Cloud",
"license": "ISC",
"dependencies": {
"client": "file:./client",
"body-parser": "^1.17.2",
"cookie-parser": "^1.4.3",
"express": "^4.15.3",
"express-http-proxy": "^1.6.0",
"ibm-cloud-env": "^0",
"log4js": "^3.0.5",
"node-sass": "^4.12.0"
},
"devDependencies": {
"@types/node": "^11.13.19",
"nodemon": "^1.12.1",
"supertest": "^4.0.2",
"sonarqube-scanner": "^2.5.0"
}
}