refactor: meta
This commit is contained in:
parent
6c7c61769b
commit
97d07564b4
|
@ -5,10 +5,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --mode production",
|
"build": "webpack --mode production",
|
||||||
"clean": "rm -rf yarn.lock build node_modules/* && yarn",
|
"clean": "rm -rf yarn.lock build node_modules/* && yarn",
|
||||||
"dev": "webpack --mode development",
|
|
||||||
"docker": "yarn run build && docker build",
|
"docker": "yarn run build && docker build",
|
||||||
"electron": "electron build/electron.js",
|
"electron": "electron build/electron.js",
|
||||||
"forcelatus": "pkgs=$(find node_modules/@latus -maxdepth 1 -mindepth 1 -printf '@latus/%f '); yarn upgrade $pkgs",
|
|
||||||
"lint": "eslint --cache --format codeframe --ext mjs,jsx,js src",
|
"lint": "eslint --cache --format codeframe --ext mjs,jsx,js src",
|
||||||
"repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/persea-*.sock | tail -n 1)",
|
"repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/persea-*.sock | tail -n 1)",
|
||||||
"start": "NODE_ENV=production node build/index.js",
|
"start": "NODE_ENV=production node build/index.js",
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "NODE_PATH=./node_modules webpack --mode production",
|
"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",
|
"clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.filter((file) => {const parts = file.split('/'); return 1 === parts.length || 'test' !== parts[0];}).join(' '));\") && yarn",
|
||||||
|
"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 .",
|
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
|
||||||
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
||||||
},
|
},
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "NODE_PATH=./node_modules webpack --mode production",
|
"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",
|
"clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.filter((file) => {const parts = file.split('/'); return 1 === parts.length || 'test' !== parts[0];}).join(' '));\") && yarn",
|
||||||
|
"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 .",
|
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
|
||||||
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
||||||
},
|
},
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "NODE_PATH=./node_modules webpack --mode production",
|
"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",
|
"clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.filter((file) => {const parts = file.split('/'); return 1 === parts.length || 'test' !== parts[0];}).join(' '));\") && yarn",
|
||||||
|
"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 .",
|
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
|
||||||
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
||||||
},
|
},
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "NODE_PATH=./node_modules webpack --mode production",
|
"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",
|
"clean": "rm -rf yarn.lock node_modules $(node -e \"process.stdout.write(require('./package.json').files.filter((file) => {const parts = file.split('/'); return 1 === parts.length || 'test' !== parts[0];}).join(' '));\") && yarn",
|
||||||
|
"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 .",
|
"lint": "NODE_PATH=./node_modules eslint --format codeframe --ext mjs,js .",
|
||||||
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user