|
1 | 1 | {
|
2 |
| - "name": "react-ssr-advanced-seed", |
3 |
| - "version": "1.0.6", |
4 |
| - "description": "React SSR Advanced Seed (nestJS + React SSR + React Native + Docker)", |
5 |
| - "author": "Vipin Tanna", |
6 |
| - "license": "MIT", |
7 |
| - "scripts": { |
8 |
| - "install": "npx lerna bootstrap --hoist --ignore __tests__ --ignore-scripts -- --production --no-optional && npm run install:mobile", |
9 |
| - "install:mobile": "cd src/client/mobile && npm install", |
10 |
| - "precommit": "lint-staged", |
11 |
| - "build": "npm run build:backend && npm run build:frontend && npm run docker:frontend:prod", |
12 |
| - "deploy:frontend": "npm run build:frontend && npx release-it -n --no-npm.publish && npm run docker:frontend:prod:publish", |
13 |
| - "deploy": "npm run build:frontend && npm run build:backend && npx release-it -n --no-npm.publish && npm run docker:frontend:prod:publish", |
14 |
| - "build:frontend": "cross-env NODE_ENV=production node scripts/build.js", |
15 |
| - "build:backend": "webpack --env.NODE_ENV=production --env.watchFiles=false --config scripts/api-webpack.config.js", |
16 |
| - "start:frontend": "cross-env NODE_ENV=development node scripts/start.js", |
17 |
| - "start:backend": "npx ts-node -r tsconfig-paths/register src/server/main", |
18 |
| - "start:docker": "npm run build && npm run docker:frontend:prod", |
19 |
| - "start": "npm run start:frontend & npm run start:backend", |
20 |
| - "start:mobile": "cd src/client/mobile && npm start", |
21 |
| - "mobile:ios": "cd src/client/mobile && react-native run-ios", |
22 |
| - "mobile:android": "cd src/client/mobile && react-native run-android", |
23 |
| - "server": "npx pm2 start --name=node-api dist/server.js", |
24 |
| - "docker:frontend:prod": "node scripts/docker-build.js frontend", |
25 |
| - "docker:backend:prod": "node scripts/docker-build.js backend", |
26 |
| - "docker:frontend:prod:publish": "node scripts/docker-build.js frontend --publish", |
27 |
| - "test": "npm run test:frontend:web && npm run test:frontend:mobile && npm run test:backend", |
28 |
| - "test:backend": "cross-env CI=true API_DB_USERNAME=postgres API_DB_PASSWORD=password API_DB_NAME=postgres node scripts/test.js --env=jsdom --config=jest.backend.config.js", |
29 |
| - "test:e2e": "node scripts/test.js --env=jsdom --config=jest.e2e.config.js", |
30 |
| - "test:watch": "cross-env API_DB_USERNAME=postgres API_DB_PASSWORD=password API_DB_NAME=postgres node scripts/test.js --env=jsdom --config=jest.backend.config.js", |
31 |
| - "test:frontend:web": "cross-env CI=true node scripts/test.js --env=jsdom --config=jest.frontend.config.js", |
32 |
| - "test:frontend:mobile": "cd src/client/mobile && npm test", |
33 |
| - "test:frontend:watch": "node scripts/test.js --env=jsdom --config=jest.frontend.config.js", |
34 |
| - "test:update": "yarn test --updateSnapshot", |
35 |
| - "lint": "eslint ./src/client", |
36 |
| - "generate:container": "npx plop", |
37 |
| - "generate:docs": "npx typedoc --out docs/ src/ --mode file --module commonjs --target es6", |
38 |
| - "generate:defintions": "npx dts-generator --name node-advanced-api --project ./ --out node-advanced-api.d.ts", |
39 |
| - "generate-all": "npm run generate:defintions && npm run generate:docs", |
40 |
| - "webpack": "webpack --env.NODE_ENV=development --env.watchFiles=true --config scripts/api-webpack.config.js", |
41 |
| - "storybook": "start-storybook -p 6006", |
42 |
| - "now-build": "npm run build:frontend", |
43 |
| - "build-storybook": "build-storybook" |
44 |
| - }, |
45 |
| - "lint-staged": { |
46 |
| - "*.{js,css}": [ |
47 |
| - "prettier --write" |
48 |
| - ], |
49 |
| - "*.js": [ |
50 |
| - "eslint src --fix" |
51 |
| - ] |
52 |
| - }, |
53 |
| - "moduleRoots": [ |
54 |
| - "src/client", |
55 |
| - "src/server", |
56 |
| - "src", |
57 |
| - "node_modules" |
58 |
| - ], |
59 |
| - "dependencies": { |
60 |
| - "@storybook/addon-actions": "4.1.18", |
61 |
| - "@storybook/addon-links": "4.1.18", |
62 |
| - "@storybook/addons": "4.1.18", |
63 |
| - "@storybook/react": "4.1.18", |
64 |
| - "chrome-aws-lambda": "1.18.0", |
65 |
| - "connected-react-router": "6.5.2", |
66 |
| - "express-manifest-helpers-audit-fix": "0.6.3", |
67 |
| - "history": "4.9.0", |
68 |
| - "puppeteer-core": "1.18.1", |
69 |
| - "react": "16.8.6", |
70 |
| - "react-redux": "5.1.1", |
71 |
| - "react-router": "4.3.1", |
72 |
| - "react-router-redux": "5.0.0-alpha.9", |
73 |
| - "redux": "4.0.1", |
74 |
| - "redux-logger": "3.0.6", |
75 |
| - "redux-observable": "1.1.0", |
76 |
| - "rxjs": "6.5.2" |
77 |
| - }, |
78 |
| - "browserslist": [ |
79 |
| - "last 1 version", |
80 |
| - "> 1%", |
81 |
| - "maintained node versions", |
82 |
| - "not dead" |
83 |
| - ], |
84 |
| - "devDependencies": { |
85 |
| - "@babel/core": "7.5.5", |
86 |
| - "@babel/plugin-proposal-class-properties": "7.5.5", |
87 |
| - "@babel/plugin-proposal-object-rest-spread": "7.5.5", |
88 |
| - "@babel/plugin-proposal-optional-chaining": "7.2.0", |
89 |
| - "@babel/plugin-syntax-dynamic-import": "7.2.0", |
90 |
| - "@babel/plugin-transform-modules-commonjs": "7.5.0", |
91 |
| - "@babel/polyfill": "7.4.4", |
92 |
| - "@babel/preset-env": "7.5.5", |
93 |
| - "@babel/preset-react": "7.0.0", |
94 |
| - "@babel/preset-typescript": "7.3.3", |
95 |
| - "@babel/register": "7.5.5", |
96 |
| - "@babel/runtime": "7.5.5", |
97 |
| - "@types/enzyme": "3.10.3", |
98 |
| - "@types/graphql": "14.2.2", |
99 |
| - "@types/jest": "24.0.15", |
100 |
| - "@types/node": "7.10.6", |
101 |
| - "@types/prop-types": "15.7.1", |
102 |
| - "@types/react": "16.8.20", |
103 |
| - "@types/react-transition-group": "2.9.2", |
104 |
| - "autoprefixer": "9.8.0", |
105 |
| - "babel-eslint": "10.0.2", |
106 |
| - "babel-jest": "24.8.0", |
107 |
| - "babel-loader": "8.0.6", |
108 |
| - "body-parser": "1.19.0", |
109 |
| - "chalk": "2.4.2", |
110 |
| - "copy-webpack-plugin": "5.0.3", |
111 |
| - "cors": "2.8.5", |
112 |
| - "cross-env": "5.2.0", |
113 |
| - "css-hot-loader": "1.4.4", |
114 |
| - "css-loader": "3.1.0", |
115 |
| - "dotenv": "8.0.0", |
116 |
| - "dts-generator": "2.1.0", |
117 |
| - "enzyme": "3.10.0", |
118 |
| - "enzyme-adapter-react-16": "1.14.0", |
119 |
| - "enzyme-to-json": "3.3.5", |
120 |
| - "eslint": "6.1.0", |
121 |
| - "eslint-config-airbnb": "16.1.0", |
122 |
| - "eslint-loader": "1.9.0", |
123 |
| - "eslint-plugin-import": "2.18.0", |
124 |
| - "eslint-plugin-jsx-a11y": "6.2.3", |
125 |
| - "eslint-plugin-react": "7.14.3", |
126 |
| - "extract-text-webpack-plugin": "4.0.0-beta.0", |
127 |
| - "faker": "4.1.0", |
128 |
| - "file-loader": "3.0.1", |
129 |
| - "jest": "24.8.0", |
130 |
| - "jest-puppeteer": "4.4.0", |
131 |
| - "jest-transform-stub": "2.0.0", |
132 |
| - "lerna": "3.16.4", |
133 |
| - "lint-staged": "7.3.0", |
134 |
| - "mini-css-extract-plugin": "0.7.0", |
135 |
| - "nodemon": "1.19.1", |
136 |
| - "plop": "2.4.0", |
137 |
| - "pm2": "3.5.1", |
138 |
| - "postcss-assets": "5.0.0", |
139 |
| - "postcss-custom-properties": "9.0.1", |
140 |
| - "postcss-flexbugs-fixes": "4.1.0", |
141 |
| - "postcss-import": "12.0.1", |
142 |
| - "postcss-loader": "3.0.0", |
143 |
| - "postcss-nested": "4.1.2", |
144 |
| - "postcss-normalize": "8.0.1", |
145 |
| - "puppeteer": "1.19.0", |
146 |
| - "redux-mock-store": "1.5.3", |
147 |
| - "release-it": "12.3.3", |
148 |
| - "reselect": "4.0.0", |
149 |
| - "serve-static": "1.14.1", |
150 |
| - "shelljs": "0.8.3", |
151 |
| - "supertest": "4.0.2", |
152 |
| - "swagger-ui-express": "4.0.7", |
153 |
| - "ts-jest": "24.0.2", |
154 |
| - "ts-loader": "6.0.2", |
155 |
| - "ts-node": "8.3.0", |
156 |
| - "tsconfig-paths": "3.8.0", |
157 |
| - "tsconfig-paths-webpack-plugin": "3.2.0", |
158 |
| - "tslint": "5.17.0", |
159 |
| - "typedoc-ssr": "0.14.4", |
160 |
| - "typescript": "3.5.3", |
161 |
| - "url-loader": "2.1.0", |
162 |
| - "webpack": "4.43.0", |
163 |
| - "webpack-bundle-analyzer": "3.3.2", |
164 |
| - "webpack-cli": "3.3.3", |
165 |
| - "webpack-dev-server": "3.7.2", |
166 |
| - "webpack-hot-middleware": "2.25.0", |
167 |
| - "webpack-manifest-plugin": "2.0.4", |
168 |
| - "webpack-node-externals": "1.7.2", |
169 |
| - "node-fetch": "2.6.0", |
170 |
| - "write-file-webpack-plugin": "4.5.0" |
171 |
| - } |
| 2 | + "name": "react-ssr-advanced-seed", |
| 3 | + "version": "1.0.6", |
| 4 | + "description": "React SSR Advanced Seed (nestJS + React SSR + React Native + Docker)", |
| 5 | + "author": "Vipin Tanna", |
| 6 | + "license": "MIT", |
| 7 | + "scripts": { |
| 8 | + "install": "npx lerna bootstrap --hoist --ignore __tests__ --ignore-scripts -- --production --no-optional && npm run install:mobile", |
| 9 | + "install:mobile": "cd src/client/mobile && npm install", |
| 10 | + "precommit": "lint-staged", |
| 11 | + "build": "npm run build:backend && npm run build:frontend && npm run docker:frontend:prod", |
| 12 | + "deploy:frontend": "npm run build:frontend && npx release-it -n --no-npm.publish && npm run docker:frontend:prod:publish", |
| 13 | + "deploy": "npm run build:frontend && npm run build:backend && npx release-it -n --no-npm.publish && npm run docker:frontend:prod:publish", |
| 14 | + "build:frontend": "cross-env NODE_ENV=production node scripts/build.js", |
| 15 | + "build:backend": "webpack --env.NODE_ENV=production --env.watchFiles=false --config scripts/api-webpack.config.js", |
| 16 | + "start:frontend": "cross-env NODE_ENV=development node scripts/start.js", |
| 17 | + "start:backend": "npx ts-node -r tsconfig-paths/register src/server/main", |
| 18 | + "start:docker": "npm run build && npm run docker:frontend:prod", |
| 19 | + "start": "npm run start:frontend & npm run start:backend", |
| 20 | + "start:mobile": "cd src/client/mobile && npm start", |
| 21 | + "mobile:ios": "cd src/client/mobile && react-native run-ios", |
| 22 | + "mobile:android": "cd src/client/mobile && react-native run-android", |
| 23 | + "server": "npx pm2 start --name=node-api dist/server.js", |
| 24 | + "docker:frontend:prod": "node scripts/docker-build.js frontend", |
| 25 | + "docker:backend:prod": "node scripts/docker-build.js backend", |
| 26 | + "docker:frontend:prod:publish": "node scripts/docker-build.js frontend --publish", |
| 27 | + "test": "npm run test:frontend:web && npm run test:frontend:mobile && npm run test:backend", |
| 28 | + "test:backend": "cross-env CI=true API_DB_USERNAME=postgres API_DB_PASSWORD=password API_DB_NAME=postgres node scripts/test.js --env=jsdom --config=jest.backend.config.js", |
| 29 | + "test:e2e": "node scripts/test.js --env=jsdom --config=jest.e2e.config.js", |
| 30 | + "test:watch": "cross-env API_DB_USERNAME=postgres API_DB_PASSWORD=password API_DB_NAME=postgres node scripts/test.js --env=jsdom --config=jest.backend.config.js", |
| 31 | + "test:frontend:web": "cross-env CI=true node scripts/test.js --env=jsdom --config=jest.frontend.config.js", |
| 32 | + "test:frontend:mobile": "cd src/client/mobile && npm test", |
| 33 | + "test:frontend:watch": "node scripts/test.js --env=jsdom --config=jest.frontend.config.js", |
| 34 | + "test:update": "yarn test --updateSnapshot", |
| 35 | + "lint": "eslint ./src/client", |
| 36 | + "generate:container": "npx plop", |
| 37 | + "generate:docs": "npx typedoc --out docs/ src/ --mode file --module commonjs --target es6", |
| 38 | + "generate:defintions": "npx dts-generator --name node-advanced-api --project ./ --out node-advanced-api.d.ts", |
| 39 | + "generate-all": "npm run generate:defintions && npm run generate:docs", |
| 40 | + "webpack": "webpack --env.NODE_ENV=development --env.watchFiles=true --config scripts/api-webpack.config.js", |
| 41 | + "storybook": "start-storybook -p 6006", |
| 42 | + "now-build": "npm run build:frontend", |
| 43 | + "build-storybook": "build-storybook" |
| 44 | + }, |
| 45 | + "lint-staged": { |
| 46 | + "*.{js,css}": [ |
| 47 | + "prettier --write" |
| 48 | + ], |
| 49 | + "*.js": [ |
| 50 | + "eslint src --fix" |
| 51 | + ] |
| 52 | + }, |
| 53 | + "moduleRoots": [ |
| 54 | + "src/client", |
| 55 | + "src/server", |
| 56 | + "src", |
| 57 | + "node_modules" |
| 58 | + ], |
| 59 | + "dependencies": { |
| 60 | + "@storybook/addon-actions": "4.1.18", |
| 61 | + "@storybook/addon-links": "4.1.18", |
| 62 | + "@storybook/addons": "4.1.18", |
| 63 | + "@storybook/react": "4.1.18", |
| 64 | + "chrome-aws-lambda": "1.18.0", |
| 65 | + "connected-react-router": "6.5.2", |
| 66 | + "express-manifest-helpers-audit-fix": "0.6.3", |
| 67 | + "history": "4.9.0", |
| 68 | + "puppeteer-core": "1.18.1", |
| 69 | + "react": "16.8.6", |
| 70 | + "react-redux": "5.1.1", |
| 71 | + "react-router": "4.3.1", |
| 72 | + "react-router-redux": "5.0.0-alpha.9", |
| 73 | + "redux": "4.0.1", |
| 74 | + "redux-logger": "3.0.6", |
| 75 | + "redux-observable": "1.1.0", |
| 76 | + "rxjs": "6.5.2" |
| 77 | + }, |
| 78 | + "browserslist": [ |
| 79 | + "last 1 version", |
| 80 | + "> 1%", |
| 81 | + "maintained node versions", |
| 82 | + "not dead" |
| 83 | + ], |
| 84 | + "devDependencies": { |
| 85 | + "@babel/core": "7.5.5", |
| 86 | + "@babel/plugin-proposal-class-properties": "7.5.5", |
| 87 | + "@babel/plugin-proposal-object-rest-spread": "7.5.5", |
| 88 | + "@babel/plugin-proposal-optional-chaining": "7.2.0", |
| 89 | + "@babel/plugin-syntax-dynamic-import": "7.2.0", |
| 90 | + "@babel/plugin-transform-modules-commonjs": "7.5.0", |
| 91 | + "@babel/polyfill": "7.4.4", |
| 92 | + "@babel/preset-env": "7.5.5", |
| 93 | + "@babel/preset-react": "7.0.0", |
| 94 | + "@babel/preset-typescript": "7.3.3", |
| 95 | + "@babel/register": "7.5.5", |
| 96 | + "@babel/runtime": "7.5.5", |
| 97 | + "@types/enzyme": "3.10.3", |
| 98 | + "@types/graphql": "14.2.2", |
| 99 | + "@types/jest": "24.0.15", |
| 100 | + "@types/node": "7.10.6", |
| 101 | + "@types/prop-types": "15.7.1", |
| 102 | + "@types/react": "16.8.20", |
| 103 | + "@types/react-transition-group": "2.9.2", |
| 104 | + "autoprefixer": "9.8.0", |
| 105 | + "babel-eslint": "10.0.2", |
| 106 | + "babel-jest": "24.8.0", |
| 107 | + "babel-loader": "8.0.6", |
| 108 | + "body-parser": "1.19.0", |
| 109 | + "chalk": "2.4.2", |
| 110 | + "copy-webpack-plugin": "5.0.3", |
| 111 | + "cors": "2.8.5", |
| 112 | + "cross-env": "5.2.0", |
| 113 | + "css-hot-loader": "1.4.4", |
| 114 | + "css-loader": "3.1.0", |
| 115 | + "dotenv": "8.0.0", |
| 116 | + "dts-generator": "2.1.0", |
| 117 | + "enzyme": "3.10.0", |
| 118 | + "enzyme-adapter-react-16": "1.14.0", |
| 119 | + "enzyme-to-json": "3.3.5", |
| 120 | + "eslint": "6.1.0", |
| 121 | + "eslint-config-airbnb": "16.1.0", |
| 122 | + "eslint-loader": "1.9.0", |
| 123 | + "eslint-plugin-import": "2.18.0", |
| 124 | + "eslint-plugin-jsx-a11y": "6.2.3", |
| 125 | + "eslint-plugin-react": "7.14.3", |
| 126 | + "extract-text-webpack-plugin": "4.0.0-beta.0", |
| 127 | + "faker": "4.1.0", |
| 128 | + "file-loader": "3.0.1", |
| 129 | + "jest": "24.8.0", |
| 130 | + "jest-puppeteer": "4.4.0", |
| 131 | + "jest-transform-stub": "2.0.0", |
| 132 | + "lerna": "3.16.4", |
| 133 | + "lint-staged": "7.3.0", |
| 134 | + "mini-css-extract-plugin": "0.7.0", |
| 135 | + "nodemon": "1.19.1", |
| 136 | + "plop": "2.4.0", |
| 137 | + "pm2": "3.5.1", |
| 138 | + "postcss-assets": "5.0.0", |
| 139 | + "postcss-custom-properties": "9.0.1", |
| 140 | + "postcss-flexbugs-fixes": "4.1.0", |
| 141 | + "postcss-import": "12.0.1", |
| 142 | + "postcss-loader": "3.0.0", |
| 143 | + "postcss-nested": "4.1.2", |
| 144 | + "postcss-normalize": "8.0.1", |
| 145 | + "puppeteer": "1.19.0", |
| 146 | + "redux-mock-store": "1.5.3", |
| 147 | + "release-it": "12.3.3", |
| 148 | + "reselect": "4.0.0", |
| 149 | + "serve-static": "1.14.1", |
| 150 | + "shelljs": "0.8.3", |
| 151 | + "supertest": "4.0.2", |
| 152 | + "swagger-ui-express": "4.0.7", |
| 153 | + "ts-jest": "24.0.2", |
| 154 | + "ts-loader": "6.0.2", |
| 155 | + "ts-node": "8.3.0", |
| 156 | + "tsconfig-paths": "3.8.0", |
| 157 | + "tsconfig-paths-webpack-plugin": "3.2.0", |
| 158 | + "tslint": "5.17.0", |
| 159 | + "typedoc-ssr": "0.14.4", |
| 160 | + "typescript": "3.5.3", |
| 161 | + "url-loader": "2.1.0", |
| 162 | + "webpack": "4.43.0", |
| 163 | + "webpack-bundle-analyzer": "3.3.2", |
| 164 | + "webpack-cli": "3.3.3", |
| 165 | + "webpack-dev-server": "3.7.2", |
| 166 | + "webpack-hot-middleware": "2.25.0", |
| 167 | + "webpack-manifest-plugin": "2.0.4", |
| 168 | + "webpack-node-externals": "1.7.2", |
| 169 | + "node-fetch": "2.6.0", |
| 170 | + "write-file-webpack-plugin": "4.5.0" |
| 171 | + } |
172 | 172 | }
|
0 commit comments