chore: tidy

This commit is contained in:
cha0s 2021-01-22 23:41:39 -06:00
parent 5681f70113
commit 716989ae71
5 changed files with 6 additions and 13 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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"
},

View File

@ -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",

View File

@ -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",