54 lines
1.9 KiB
JSON
54 lines
1.9 KiB
JSON
{
|
|
"name": "@latus/build",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"author": "cha0s",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"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 && 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"
|
|
},
|
|
"files": [
|
|
"babel.js",
|
|
"babel.js.map",
|
|
"build",
|
|
"build.js",
|
|
"index.js",
|
|
"index.js.map",
|
|
"test.js",
|
|
"test.js.map"
|
|
],
|
|
"dependencies": {
|
|
"@babel/eslint-parser": "^7.13.10",
|
|
"@babel/eslint-plugin": "^7.13.10",
|
|
"@babel/parser": "^7.13.12",
|
|
"@babel/plugin-proposal-class-properties": "^7.12.13",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.12.16",
|
|
"@babel/plugin-proposal-private-methods": "^7.12.13",
|
|
"@babel/plugin-syntax-jsx": "^7.12.13",
|
|
"@babel/preset-react": "^7.12.13",
|
|
"@babel/types": "^7.13.12",
|
|
"@neutrinojs/airbnb": "^9.4.0",
|
|
"@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",
|
|
"eslint": "^7.0.0",
|
|
"eslint-import-resolver-webpack": "0.13.0",
|
|
"neutrino": "^9.4.0",
|
|
"rimraf": "^3.0.2",
|
|
"source-map-support": "0.5.19",
|
|
"webpack": "^4",
|
|
"webpack-cli": "^3",
|
|
"webpack-node-externals": "2.5.2"
|
|
}
|
|
}
|