chore: fp

This commit is contained in:
cha0s 2021-03-20 08:43:47 -05:00
parent 9bc3f4900b
commit 3ebadd0a50

View File

@ -10,7 +10,7 @@
"scripts": {
"build": "LATUS_POSTCSS_CONFIG=./src/build/postcss.config.js NODE_PATH=./node_modules webpack --config ./webpack.config.js --mode production",
"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(' '));\")",
"forcepub": "npm unpublish --force $(node -e 'const {name, version} = require(`./package.json`); process.stdout.write(`${name}@${version}`)') && npm publish",
"fp": "npm unpublish --force $(node -e 'const {name, version} = require(`./package.json`); process.stdout.write(`${name}@${version}`)') && npm publish",
"lint": "NODE_PATH=./node_modules eslint --config ./.eslintrc.js --format codeframe --ext mjs,js .",
"test": "yarn --silent run build --display none && mocha --colors test.js"
},