fix: build

This commit is contained in:
cha0s 2021-04-01 21:03:12 -05:00
parent 49b8fdc49e
commit 490a2258b8
3 changed files with 2348 additions and 2198 deletions

View File

@ -15,6 +15,7 @@
"watch": "lerna run watch --parallel"
},
"devDependencies": {
"@latus/build": "^1.0.0",
"lerna": "^3.22.1"
}
}

View File

@ -8,7 +8,7 @@
"latus-build": "./build.js"
},
"scripts": {
"build": "LATUS_BABEL_CONFIG=./src/build/.babelrc.js LATUS_ESLINT_CONFIG=./.eslintrc.js LATUS_POSTCSS_CONFIG=./src/build/postcss.config.js LATUS_WEBPACK_CONFIG=./src/build/webpack.config.js NODE_PATH=./node_modules webpack --config ./webpack.config.js --mode production",
"build": "LATUS_BABEL_CONFIG=./src/build/.babelrc.js LATUS_ESLINT_CONFIG=./.eslintrc.js LATUS_POSTCSS_CONFIG=./src/build/postcss.config.js LATUS_WEBPACK_CONFIG=./src/build/webpack.config.js NODE_PATH=./node_modules webpack --config ./webpack.config.js --mode production && chmod +x ./build.js",
"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 ./src/build/.eslintrc.js --format codeframe --ext mjs,js .",
"test": "yarn --silent run build --display none && mocha --colors test.js"
@ -37,6 +37,7 @@
"@neutrinojs/banner": "^9.4.0",
"@neutrinojs/copy": "^9.4.0",
"@neutrinojs/mocha": "^9.4.0",
"@neutrinojs/react": "^9.4.0",
"babel-plugin-webpack-alias": "^2.1.2",
"chai": "4.2.0",
"commander": "^7.1.0",

4542
yarn.lock

File diff suppressed because it is too large Load Diff