forked from adhocteam/Head-Start-TTADP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 3.45 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "head-start-ttadp",
"version": "1.0.0",
"description": "Office of Head Start Training & Technical Assistance Data Platform\r =============================================",
"main": "index.js",
"engines": {
"node": "^12.18"
},
"scripts": {
"deps": "yarn install && yarn --cwd frontend install",
"start": "concurrently \"yarn server\" \"yarn client\"",
"server": "nodemon src/index.js --ignore './frontend/' --exec babel-node",
"server:debug": "nodemon src/index.js --ignore './frontend/' --exec babel-node --inspect=0.0.0.0:9229",
"client": "yarn --cwd frontend start",
"test": "jest src",
"test:ci": "cross-env JEST_JUNIT_OUTPUT_DIR=reports JEST_JUNIT_OUTPUT_NAME=unit.xml CI=true jest src --coverage --reporters=default --reporters=jest-junit",
"test:all": "yarn test:ci && yarn --cwd frontend test:ci",
"lint": "eslint src",
"lint:ci": "eslint -f eslint-formatter-multiple src",
"lint:all": "yarn lint:ci && yarn --cwd frontend lint:ci",
"clean": "rm -rf coverage reports frontend/coverage frontend/reports frontend/build",
"docker:deps": "docker-compose run --rm backend yarn install && docker-compose run --rm frontend yarn install",
"docker:start": "docker-compose up -d",
"docker:stop": "docker-compose down",
"docker:test": "docker-compose run --rm backend yarn test:ci && docker-compose run --rm frontend yarn test:ci",
"docker:lint": "docker-compose run --rm backend yarn lint:ci && docker-compose run --rm frontend yarn lint:ci",
"docker:shell:frontend": "docker-compose run --rm frontend /bin/bash",
"docker:shell:backend": "docker-compose run --rm backend /bin/bash"
},
"repository": {
"type": "git",
"url": "git+https://github.com/adhocteam/Head-Start-TTADP.git"
},
"eslintConfig": {
"extends": [
"airbnb-base",
"plugin:jest/recommended"
],
"ignorePatterns": [
"node_modules/*"
],
"rules": {
"linebreak-style": 0
}
},
"eslint-formatter-multiple": {
"formatters": [
{
"name": "stylish",
"output": "console"
},
{
"name": "junit",
"output": "file",
"path": "reports/lint.xml"
}
]
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/frontend/"
]
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/adhocteam/Head-Start-TTADP/issues"
},
"homepage": "https://github.com/adhocteam/Head-Start-TTADP#readme",
"devDependencies": {
"@babel/core": "^7.11.0",
"@babel/node": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"concurrently": "^5.3.0",
"cross-env": "^7.0.2",
"depcheck": "^1.2.0",
"eslint": "^6.6.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-formatter-multiple": "^1.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
"jest": "^24.9.0",
"jest-cli": "^26.4.2",
"jest-junit": "^11.1.0",
"nodemon": "^2.0.4",
"supertest": "^4.0.2"
},
"dependencies": {
"axios": "^0.20.0",
"client-oauth2": "^4.3.3",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-session": "^1.17.1",
"express-unless": "^0.5.0",
"helmet": "^4.1.0",
"lodash": "^4.17.20",
"memorystore": "^1.6.2",
"dotenv": "^8.2.0",
"express-winston": "^4.0.5",
"winston": "^3.3.3"
}
}