add instant commands
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user