|
3 | 3 | "version": "0.4.0", |
4 | 4 | "license": "Apache License 2.0", |
5 | 5 | "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", |
13 | 6 | "build.prod": "cross-env GOAL=production next build", |
14 | 7 | "build.dev": "cross-env GOAL=dev next build", |
15 | | - "launch": "cross-env GOAL=production next start -p ${SERVE_PORT}", |
16 | 8 | "launch.dev": "cross-env NODE_ENV=dev 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 | | - } |
| 9 | + "launch.prod": "cross-env NODE_ENV=production SERVE_PORT=${SERVE_PORT} node server" |
50 | 10 | }, |
51 | 11 | "dependencies": { |
52 | 12 | "accepts": "^1.3.4", |
|
108 | 68 | "react-waypoint": "^8.0.0", |
109 | 69 | "remarkable": "^1.7.1", |
110 | 70 | "remarkable-emoji": "^0.1.3", |
111 | | - "remarkable-katex": "^1.0.1", |
112 | 71 | "remarkable-mentions": "^0.1.0", |
113 | 72 | "rxjs": "6.2.2", |
114 | 73 | "scroll-into-view-if-needed": "1.5.0", |
|
120 | 79 | "devDependencies": { |
121 | 80 | "@babel/core": "^7.2.2", |
122 | 81 | "@babel/plugin-proposal-decorators": "^7.1.0", |
123 | | - "@commitlint/cli": "^7.0.0", |
124 | | - "@commitlint/config-conventional": "^7.0.1", |
125 | 82 | "babel-core": "^7.0.0-bridge.0", |
126 | 83 | "babel-eslint": "9.0.0", |
127 | 84 | "babel-jest": "^23.6.0", |
|
132 | 89 | "babel-plugin-react-intl": "2.4.0", |
133 | 90 | "babel-plugin-styled-components": "1.8.0", |
134 | 91 | "babel-plugin-transform-inline-environment-variables": "^0.4.3", |
135 | | - "commitizen": "^2.10.1", |
136 | | - "coveralls": "3.0.2", |
137 | | - "cross-env": "^5.0.5", |
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 | 92 | "regenerator-runtime": "^0.13.1", |
163 | | - "shelljs": "0.8.2", |
164 | | - "standard-version": "^4.4.0", |
165 | | - "webpack-bundle-analyzer": "3.0.2" |
| 93 | + "cross-env": "^5.0.5", |
| 94 | + "webpack-bundle-analyzer": "3.0.2", |
| 95 | + "dotenv-webpack": "1.5.7" |
166 | 96 | } |
167 | 97 | } |
0 commit comments