Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit c80bc07

Browse files
committed
chore(debug): build error
1 parent 46a2c93 commit c80bc07

File tree

1 file changed

+74
-4
lines changed

1 file changed

+74
-4
lines changed

package-docker.json

Lines changed: 74 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,50 @@
33
"version": "0.4.0",
44
"license": "Apache License 2.0",
55
"scripts": {
6+
"dev": "cross-env NODE_ENV=dev run-p server lint:watch",
7+
"prod": "cross-env NODE_ENV=production run-p server lint:watch",
8+
"local": "cross-env NODE_ENV=local GOAL=local node server",
9+
"server": "npm run clean && node server.js",
10+
"build": "next build",
11+
"build:clean": "run-s dist clean",
12+
"build:with18n": "npm run i18n && next build",
613
"build.prod": "cross-env GOAL=production next build",
714
"build.dev": "cross-env GOAL=dev next build",
15+
"launch": "cross-env GOAL=production next start -p ${SERVE_PORT}",
816
"launch.dev": "cross-env NODE_ENV=dev SERVE_PORT=${SERVE_PORT} node server",
9-
"launch.prod": "cross-env NODE_ENV=production SERVE_PORT=${SERVE_PORT} node server"
17+
"launch.prod": "cross-env NODE_ENV=production SERVE_PORT=${SERVE_PORT} node server",
18+
"dist": "npm run i18n && next build && next export -o \"build\"",
19+
"i18n": "shjs ./utils/scripts/create_default_lang.js && shjs ./utils/scripts/cp_locales.js",
20+
"start": "NODE_ENV=production node server.js",
21+
"clean": "shjs ./utils/scripts/clean.js",
22+
"precommit": "lint-staged",
23+
"gen": "plop --plopfile ./utils/scripts/generators/index.js",
24+
"analyze": "cross-env ANALYZE=1 next build",
25+
"lint": "eslint --fix pages/**/*.js components/**/*.js containers/**/*.js stores/**/*.js utils/**/*.js",
26+
"lint:watch": "esw -w pages/**/*.js components/**/*.js containers/**/*.js stores/**/*.js utils/**/*.js",
27+
"test": "cross-env NODE_ENV=test GOAL=test jest --config .jest.config.js",
28+
"test:dev": "cross-env NODE_ENV=dev GOAL=test jest --config .jest.config.js",
29+
"test:watch": "npm run test -- --watch",
30+
"test:cover": "npm run test -- --coverage",
31+
"test:e2e": "cypress open",
32+
"coveralls": "cat ./coverage/lcov.info | coveralls",
33+
"commitmsg": "commitlint -E GIT_PARAMS"
34+
},
35+
"lint-staged": {
36+
"*.js": [
37+
"prettier",
38+
"npm run lint"
39+
]
40+
},
41+
"config": {
42+
"commitizen": {
43+
"path": "./node_modules/cz-conventional-changelog"
44+
}
45+
},
46+
"husky": {
47+
"hooks": {
48+
"commit-msg": "npm run commitmsg"
49+
}
1050
},
1151
"dependencies": {
1252
"accepts": "^1.3.4",
@@ -68,6 +108,7 @@
68108
"react-waypoint": "^8.0.0",
69109
"remarkable": "^1.7.1",
70110
"remarkable-emoji": "^0.1.3",
111+
"remarkable-katex": "^1.0.1",
71112
"remarkable-mentions": "^0.1.0",
72113
"rxjs": "6.2.2",
73114
"scroll-into-view-if-needed": "1.5.0",
@@ -79,6 +120,8 @@
79120
"devDependencies": {
80121
"@babel/core": "^7.2.2",
81122
"@babel/plugin-proposal-decorators": "^7.1.0",
123+
"@commitlint/cli": "^7.0.0",
124+
"@commitlint/config-conventional": "^7.0.1",
82125
"babel-core": "^7.0.0-bridge.0",
83126
"babel-eslint": "9.0.0",
84127
"babel-jest": "^23.6.0",
@@ -89,9 +132,36 @@
89132
"babel-plugin-react-intl": "2.4.0",
90133
"babel-plugin-styled-components": "1.8.0",
91134
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
92-
"regenerator-runtime": "^0.13.1",
135+
"commitizen": "^2.10.1",
136+
"coveralls": "3.0.2",
93137
"cross-env": "^5.0.5",
94-
"webpack-bundle-analyzer": "3.0.2",
95-
"dotenv-webpack": "1.5.7"
138+
"cypress": "^3.0.2",
139+
"cz-conventional-changelog": "^2.1.0",
140+
"dotenv": "6.0.0",
141+
"dotenv-webpack": "1.5.7",
142+
"enzyme": "3.3.0",
143+
"enzyme-adapter-react-16": "1.1.1",
144+
"enzyme-to-json": "^3.3.4",
145+
"eslint": "5.6.0",
146+
"eslint-config-airbnb": "17.1.0",
147+
"eslint-config-prettier": "3.0.1",
148+
"eslint-import-resolver-babel-module": "5.0.0-beta.1",
149+
"eslint-plugin-cypress": "^2.0.1",
150+
"eslint-plugin-import": "2.13.0",
151+
"eslint-plugin-jsx-a11y": "6.1.1",
152+
"eslint-plugin-prettier": "2.6.2",
153+
"eslint-plugin-react": "7.11.0",
154+
"eslint-watch": "4.0.2",
155+
"husky": "^0.14.3",
156+
"jest": "23.4.2",
157+
"lint-staged": "7.2.0",
158+
"npm-run-all": "^4.1.1",
159+
"plop": "2.0.0",
160+
"prettier": "1.14.0",
161+
"react-test-renderer": "16.4.2",
162+
"regenerator-runtime": "^0.13.1",
163+
"shelljs": "0.8.2",
164+
"standard-version": "^4.4.0",
165+
"webpack-bundle-analyzer": "3.0.2"
96166
}
97167
}

0 commit comments

Comments
 (0)