chore: tidy
This commit is contained in:
parent
5681f70113
commit
716989ae71
|
@ -4,7 +4,7 @@
|
|||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "webpack --mode production",
|
||||
"clean": "rm -rf yarn.lock node_modules/* && yarn",
|
||||
"clean": "rm -rf yarn.lock build node_modules/* && yarn",
|
||||
"dev": "webpack --mode development",
|
||||
"docker": "yarn run build && docker build",
|
||||
"electron": "electron build/electron.js",
|
||||
|
|
|
@ -7,11 +7,8 @@
|
|||
"scripts": {
|
||||
"build": "NODE_PATH=./node_modules webpack --mode production",
|
||||
"clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.join(' '));\") && yarn",
|
||||
"dev": "NODE_PATH=./node_modules webpack --mode development",
|
||||
"forcepub": "npm unpublish --force $(node -e 'const {name, version} = require(`./package.json`); process.stdout.write(`${name}@${version}`)') && npm publish",
|
||||
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
|
||||
"test": "mocha --colors test.js",
|
||||
"watch": "NODE_PATH=./node_modules webpack --watch --mode development"
|
||||
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
"forcepub": "lerna run forcepub",
|
||||
"lint": "lerna run lint",
|
||||
"package": "node ./package.js",
|
||||
"refresh": "yarn run clean && npx lerna exec link-all && yarn run build && yarn run test",
|
||||
"refresh": "yarn run clean && npx lerna exec link-all && yarn run build && yarn run test",
|
||||
"test": "lerna run test --no-bail -- --silent",
|
||||
"watch": "lerna run watch --parallel"
|
||||
},
|
||||
|
|
|
@ -7,11 +7,8 @@
|
|||
"scripts": {
|
||||
"build": "NODE_PATH=./node_modules webpack --mode production",
|
||||
"clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.join(' '));\") && yarn",
|
||||
"dev": "NODE_PATH=./node_modules webpack --mode development",
|
||||
"forcepub": "npm unpublish --force $(node -e 'const {name, version} = require(`./package.json`); process.stdout.write(`${name}@${version}`)') && npm publish",
|
||||
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
|
||||
"test": "mocha --colors test.js",
|
||||
"watch": "NODE_PATH=./node_modules webpack --watch --mode development"
|
||||
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
|
|
|
@ -7,11 +7,8 @@
|
|||
"scripts": {
|
||||
"build": "NODE_PATH=./node_modules webpack --mode production",
|
||||
"clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.join(' '));\") && yarn",
|
||||
"dev": "NODE_PATH=./node_modules webpack --mode development",
|
||||
"forcepub": "npm unpublish --force $(node -e 'const {name, version} = require(`./package.json`); process.stdout.write(`${name}@${version}`)') && npm publish",
|
||||
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
|
||||
"test": "mocha --colors test.js",
|
||||
"watch": "NODE_PATH=./node_modules webpack --watch --mode development"
|
||||
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
|
|
Loading…
Reference in New Issue
Block a user