1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-17 13:38:37 +01:00

fix scripts

This commit is contained in:
Ian Storm Taylor 2019-11-27 21:08:16 -05:00
parent e766e7a4ac
commit 45cdab6bbb
3 changed files with 6 additions and 5 deletions

View File

@ -5,4 +5,5 @@ build/
dist/
lib/
node_modules/
site/out/
tmp/

View File

@ -5,4 +5,5 @@ dist/
lib/
node_modules/
package.json
site/out/
tmp/

View File

@ -14,14 +14,14 @@
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write",
"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}'",
"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",
"start": "npm-run-all --parallel --print-label watch serve",
"test": "FORBID_WARNINGS=true 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": "mocha --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"
},
"devDependencies": {
@ -44,7 +44,6 @@
"babel-eslint": "^10.0.3",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-module-resolver": "^3.1.1",
"cross-env": "^6.0.3",
"emotion": "^10.0.9",
"eslint": "^6.7.1",
"eslint-config-prettier": "^6.7.0",