mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 22:21:20 +02:00
fix lint command
This commit is contained in:
@@ -99,6 +99,7 @@
|
|||||||
"build:production": "cross-env NODE_ENV=production rollup --config ./support/rollup/config.js && cross-env NODE_ENV=production webpack --config support/webpack/config.js",
|
"build:production": "cross-env NODE_ENV=production rollup --config ./support/rollup/config.js && cross-env NODE_ENV=production webpack --config support/webpack/config.js",
|
||||||
"clean": "lerna run clean && rm -rf ./node_modules ./dist ./build",
|
"clean": "lerna run clean && rm -rf ./node_modules ./dist ./build",
|
||||||
"gh-pages": "gh-pages --dist ./build",
|
"gh-pages": "gh-pages --dist ./build",
|
||||||
|
"lint": "yarn lint:eslint && yarn lint:prettier",
|
||||||
"lint:eslint": "eslint benchmark packages/*/src packages/*/test examples/*/*.js examples/dev/*/*.js",
|
"lint:eslint": "eslint benchmark packages/*/src packages/*/test examples/*/*.js examples/dev/*/*.js",
|
||||||
"lint:prettier": "prettier --list-different '**/*.{md,json,css}'",
|
"lint:prettier": "prettier --list-different '**/*.{md,json,css}'",
|
||||||
"open": "open http://localhost:8080",
|
"open": "open http://localhost:8080",
|
||||||
|
Reference in New Issue
Block a user