add instant commands

This commit is contained in:
Pavel Mineev
2020-04-13 22:03:37 +03:00
parent 51fc0f7a92
commit 5e71613d4f
+3 -1
View File
@@ -7,6 +7,7 @@
"start": "webpack-dev-server --mode development",
"dev": "cross-env REMARK_URL=http://127.0.0.1:8080 npm start",
"test": "jest",
"test:coverage": "jest --coverage",
"check": "cross-env NODE_ENV=production npm run build && run-p check:*",
"check:types": "tsc -p tsconfig.typecheck.json --noEmit --skipLibCheck",
"check:translation": "run-s translation:extract translation:check",
@@ -15,7 +16,8 @@
"lint": "run-p lint:*",
"lint:eslint": "eslint --max-warnings=0 --ext=.ts,.tsx,.js,.jsx .",
"lint:stylelint": "stylelint '**/*.scss' '**/*.pcss' '**/*.css' 'iframe.html'",
"test:coverage": "jest --coverage",
"size": "cross-env NODE_ENV=production run-s build check:size",
"es-check": "cross-env NODE_ENV=production run-s build check:es",
"prettier": "prettier --write './**/*.{js,jsx,ts,tsx,scss}'",
"translation:extract": "formatjs extract --out-file=./extracted-messages/messages.json './app/**/*.{js,jsx,ts,tsx}'",
"translation:generate": "node ./tasks/generateDictionary.js",