fix: build
This commit is contained in:
parent
49b8fdc49e
commit
490a2258b8
|
@ -15,6 +15,7 @@
|
||||||
"watch": "lerna run watch --parallel"
|
"watch": "lerna run watch --parallel"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@latus/build": "^1.0.0",
|
||||||
"lerna": "^3.22.1"
|
"lerna": "^3.22.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"latus-build": "./build.js"
|
"latus-build": "./build.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"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",
|
"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 .",
|
"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"
|
"test": "yarn --silent run build --display none && mocha --colors test.js"
|
||||||
|
@ -37,6 +37,7 @@
|
||||||
"@neutrinojs/banner": "^9.4.0",
|
"@neutrinojs/banner": "^9.4.0",
|
||||||
"@neutrinojs/copy": "^9.4.0",
|
"@neutrinojs/copy": "^9.4.0",
|
||||||
"@neutrinojs/mocha": "^9.4.0",
|
"@neutrinojs/mocha": "^9.4.0",
|
||||||
|
"@neutrinojs/react": "^9.4.0",
|
||||||
"babel-plugin-webpack-alias": "^2.1.2",
|
"babel-plugin-webpack-alias": "^2.1.2",
|
||||||
"chai": "4.2.0",
|
"chai": "4.2.0",
|
||||||
"commander": "^7.1.0",
|
"commander": "^7.1.0",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user