latus/packages/build/package.json
2021-03-20 07:58:34 -05:00

42 lines
1.4 KiB
JSON

{
"name": "@latus/build",
"version": "1.0.0",
"main": "index.js",
"author": "cha0s",
"license": "MIT",
"bin": {
"latus-build": "./build.js"
},
"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",
"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"
},
"files": [
"build",
"build.js",
"index.js",
"index.js.map",
"test.js",
"test.js.map"
],
"dependencies": {
"@neutrinojs/airbnb": "^9.4.0",
"@neutrinojs/banner": "^9.4.0",
"@neutrinojs/copy": "^9.4.0",
"@neutrinojs/mocha": "^9.4.0",
"chai": "4.2.0",
"commander": "^7.1.0",
"eslint": "^7",
"eslint-import-resolver-webpack": "0.13.0",
"mocha": "^8",
"neutrino": "^9.4.0",
"rimraf": "^3.0.2",
"source-map-support": "0.5.19",
"webpack": "^4",
"webpack-cli": "^3"
}
}