mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-03-06 05:49:47 +01:00
fix lint command
This commit is contained in:
parent
52fc5611fc
commit
092193a15e
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user