-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
131 lines (131 loc) · 5.49 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "waterloop-cms",
"version": "1.5.1",
"private": true,
"homepage": "/",
"engines": {
"node": "=16.*",
"yarn": "=2.*"
},
"scripts": {
"postinstall": "node fix.js",
"start:frontend": "cross-env PORT=3000 react-scripts start",
"build:frontend": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"test:unit": "cross-env NODE_ENV=test cross-env PORT=9000 mocha -r esm ./src/backend/tests/unit/*",
"test:integration": "cross-env NODE_ENV=test cross-env PORT=9000 mocha -r esm --exit ./src/backend/tests/integration/*",
"test:integration:specific": "cross-env NODE_ENV=test cross-env PORT=9000 mocha -r esm --exit",
"test:integration:watch": "cross-env NODE_ENV=test cross-env PORT=9000 mocha -r esm --watch ./src/backend/tests/integration/*",
"test:all": "yarn test:unit && yarn test:integration",
"docker:test": "docker-compose run --service-ports test-db ",
"docker:dev": "docker-compose run --service-ports dev-db ",
"dev": "yarn migrate && yarn seed && cross-env NODE_ENV=development nodemon --ignore ./src/frontend --ignore ./src/index.js --exec babel-node --only src/backend,lib src/backend/index.js",
"prebuild": "yarn build:frontend && node ./src/backend/scripts/generate-gcp-key.js",
"build": "yarn prebuild && cross-env NODE_ENV=production babel src/backend --out-dir lib --copy-files",
"start": "cross-env NODE_ENV=production babel-node lib/index.js",
"deploy": "fly deploy",
"migrate": "knex migrate:latest --knexfile src/backend/knexfile.js",
"seed:dev": "cross-env NODE_ENV=development knex seed:run --knexfile src/backend/knexfile.js",
"seed": "knex seed:run --knexfile src/backend/knexfile.js",
"seed:make": "knex seed:make --knexfile src/backend/knexfile.js",
"migrate:make": "knex migrate:make --knexfile src/backend/knexfile.js",
"development:migrate:rollback": "cross-env NODE_ENV=development knex migrate:rollback --knexfile src/backend/knexfile.js",
"prod:migrate:rollback": "cross-env NODE_ENV=production knex migrate:rollback --knexfile src/backend/knexfile.js",
"prod:migrate:down": "cross-env NODE_ENV=production knex migrate:down --knexfile src/backend/knexfile.js",
"prod:migrate:up": "cross-env NODE_ENV=production knex migrate:up --knexfile src/backend/knexfile.js",
"prod:migrate:list": "cross-env NODE_ENV=production knex migrate:list --knexfile src/backend/knexfile.js",
"prod:migrate:latest": "cross-env NODE_ENV=production knex migrate:latest --knexfile src/backend/knexfile.js",
"prod:seed": "cross-env NODE_ENV=production knex seed:run --knexfile src/backend/knexfile.js",
"test:migrate:rollback": "cross-env NODE_ENV=test knex migrate:rollback --knexfile src/backend/knexfile.js",
"test:migrate:latest": "cross-env NODE_ENV=test knex migrate:latest --knexfile src/backend/knexfile.js",
"test:seed": "cross-env NODE_ENV=test knex seed:run --knexfile src/backend/knexfile.js"
},
"dependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.17.12",
"@babel/node": "^7.17.10",
"@babel/preset-env": "^7.17.12",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@google-cloud/storage": "^5.7.4",
"@mui/icons-material": "^5.3.1",
"@mui/material": "^5.4.0",
"@redux-devtools/extension": "^3.2.3",
"axios": "^0.21.2",
"backend": "link:./src/backend",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^8.2.0",
"draft-convert": "^2.1.11",
"draft-js": "^0.11.7",
"express": "^4.17.1",
"express-pg-session": "^1.1.0",
"express-session": "^1.17.1",
"express-validator": "^6.6.1",
"form-data": "^4.0.0",
"frontend": "link:./src/frontend",
"google-auth-library": "^7.0.3",
"googleapis": "^79.0.0",
"immutable": "^4.1.0",
"js-cookie": "^3.0.1",
"knex": "^0.21.5",
"md5": "^2.3.0",
"moment": "^2.29.2",
"multer": "^1.4.2",
"nodemon": "^2.0.4",
"pg": "^8.8.0",
"pg-connection-string": "^2.4.0",
"prop-types": "^15.8.1",
"ramda": "^0.27.1",
"react": "^16.13.1",
"react-datepicker": "^3.5.0",
"react-dom": "^16.13.1",
"react-draft-wysiwyg": "^1.14.7",
"react-google-login": "^5.2.2",
"react-is": "^18.2.0",
"react-redux": "^7.2.1",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.3",
"redux": "^4.0.5",
"styled-components": "^5.2.1",
"typeface-ibm-plex-sans": "^1.1.13"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-essentials": "^6.1.11",
"@storybook/addon-links": "^6.1.11",
"@storybook/node-logger": "^6.1.11",
"@storybook/preset-create-react-app": "^3.1.5",
"@storybook/react": "^6.1.11",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"esm": "^3.2.25",
"mocha": "^8.2.0"
},
"packageManager": "[email protected]"
}