mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-16 12:14:14 +02:00
fix scripts
This commit is contained in:
@@ -5,4 +5,5 @@ build/
|
|||||||
dist/
|
dist/
|
||||||
lib/
|
lib/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
site/out/
|
||||||
tmp/
|
tmp/
|
@@ -5,4 +5,5 @@ dist/
|
|||||||
lib/
|
lib/
|
||||||
node_modules/
|
node_modules/
|
||||||
package.json
|
package.json
|
||||||
|
site/out/
|
||||||
tmp/
|
tmp/
|
@@ -14,14 +14,14 @@
|
|||||||
"fix:eslint": "yarn lint:eslint --fix",
|
"fix:eslint": "yarn lint:eslint --fix",
|
||||||
"fix:prettier": "yarn lint:prettier --write",
|
"fix:prettier": "yarn lint:prettier --write",
|
||||||
"lint": "yarn lint:eslint && yarn lint:prettier",
|
"lint": "yarn lint:eslint && yarn lint:prettier",
|
||||||
"lint:eslint": "eslint '**/*.{js,jsx,ts,tsx}'",
|
"lint:eslint": "eslint './{packages,site}/**/*.{js,jsx,ts,tsx}'",
|
||||||
"lint:prettier": "prettier --list-different '**/*.{css,md,js,jsx,json,ts,tsx}'",
|
"lint:prettier": "prettier --list-different '**/*.{css,md,js,jsx,json,ts,tsx}'",
|
||||||
"open": "open http://localhost:3000",
|
"open": "open http://localhost:3000",
|
||||||
"release": "cross-env NODE_ENV=production yarn build:rollup && yarn test && yarn lint && lerna publish",
|
"release": "NODE_ENV=production yarn build:rollup && yarn test && lerna publish",
|
||||||
"serve": "cd ./site && next",
|
"serve": "cd ./site && next",
|
||||||
"start": "npm-run-all --parallel --print-label watch serve",
|
"start": "npm-run-all --parallel --print-label watch serve",
|
||||||
"test": "FORBID_WARNINGS=true mocha --require ./config/babel/register ./packages/*/test/index.js",
|
"test": "mocha --require ./config/babel/register ./packages/*/test/index.js",
|
||||||
"test:debug": "FORBID_WARNINGS=true mocha debug --require ./config/babel/register ./packages/*/test/index.js",
|
"test:debug": "mocha debug --require ./config/babel/register ./packages/*/test/index.js",
|
||||||
"watch": "yarn build:rollup --watch"
|
"watch": "yarn build:rollup --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -44,7 +44,6 @@
|
|||||||
"babel-eslint": "^10.0.3",
|
"babel-eslint": "^10.0.3",
|
||||||
"babel-plugin-dev-expression": "^0.2.2",
|
"babel-plugin-dev-expression": "^0.2.2",
|
||||||
"babel-plugin-module-resolver": "^3.1.1",
|
"babel-plugin-module-resolver": "^3.1.1",
|
||||||
"cross-env": "^6.0.3",
|
|
||||||
"emotion": "^10.0.9",
|
"emotion": "^10.0.9",
|
||||||
"eslint": "^6.7.1",
|
"eslint": "^6.7.1",
|
||||||
"eslint-config-prettier": "^6.7.0",
|
"eslint-config-prettier": "^6.7.0",
|
||||||
|
Reference in New Issue
Block a user