UNPKG

brain-cli

Version:

A command line tool used to run projects

121 lines (120 loc) 4.12 kB
{ "name": "brain-cli", "license": "MIT", "version": "1.1.3", "description": "A command line tool used to run projects", "scripts": { "clean": "rimraf dist/*", "copy": "copyfiles -f ./src/index.html ./src/favicon.ico ./dist", "dist": "rimraf dist && set NODE_ENV=dist && webpack --progress --colors -p", "serve:dist": "set NODE_ENV=dist && node server.js --env=dist", "start": "node bin/index.js ", "compile-dll": "webpack --config cfg/dll.js", "test": "node server.js", "brain-cli": "node bin/index.js", "dev": "node bin/index.js dev --apps=app1", "dll": "node bin/index.js dll", "build": "node bin/index.js build", "build:app3": "node bin/index.js build --apps=app1 --webpackJsonp=webpackJsonpLcmManifestQaName --cdn= ", "build:dist": "node bin/index.js build dist", "build:prod": "node bin/index.js build prod", "build:test": "node bin/index.js build test", "build:report": "node bin/index.js build -s", "bundle": "webpack bundleSize --profile --json --config='bin/index.js' --output-filename stats.json" }, "homepage": "https://github.com/duanguang/brain-cli", "repository": { "type": "git", "url": "git+https://github.com/duanguang/brain-cli" }, "keywords": [ "brain", "cli", "webpack-cli", "brain-cli", "react-cli", "react-webpack" ], "author": "duanguang She", "devDependencies": { "@types/chai": "^3.4.35", "@types/commander": "2.3.31", "@types/invariant": "^2.2.28", "@types/mocha": "^2.2.39", "@types/node": "^12.12.32", "@types/object-hash": "^0.5.28", "@types/update-notifier": "^1.0.0", "@types/webpack": "^4.41.8", "chai": "^3.5.0", "copyfiles": "^1.0.0", "glob": "^7.1.1", "react": "^16.8.3", "react-dom": "^16.8.3", "rimraf": "^2.4.3" }, "dependencies": { "@babel/core": "^7.0.0", "@babel/plugin-proposal-decorators": "^7.8.3", "@babel/plugin-transform-runtime": "^7.8.3", "@babel/preset-env": "^7.6.2", "@babel/preset-es2015": "^7.0.0-beta.53", "@babel/preset-react": "^7.9.4", "@babel/preset-stage-2": "^7.8.3", "add-asset-html-webpack-plugin": "^3.2.0", "autoprefixer": "^7.1.2", "babel-loader": "^8.0.6", "babel-plugin-add-module-exports": "^1.0.0", "babel-plugin-detective": "^2.0.0", "babel-plugin-import": "^1.4.0", "babel-plugin-legion-hmr": "^0.0.15", "commander": "^2.11.0", "copy-webpack-plugin": "^5.1.1", "core-js": "3", "css-loader": "^2.1.1", "deep-assign": "^2.0.0", "extract-text-webpack-plugin": "^4.0.0-beta.0", "mini-css-extract-plugin": "^0.9.0", "file-loader": "^5.0.2", "glob": "^7.1.1", "happypack": "^5.0.0", "html-minifier": "^3.4.0", "html-webpack-harddisk-plugin": "^0.1.0", "html-webpack-plugin": "^3.2.0", "html-webpack-template": "^6.0.1", "invariant": "^2.2.2", "json-loader": "^0.5.4", "less": "^3.10.3", "less-loader": "^5.0.0", "object-hash": "^1.1.5", "open": "0.0.5", "optimize-css-assets-webpack-plugin": "^5.0.3", "postcss-loader": "^3.0.0", "postcss-plugin-px2rem": "^0.8.1", "progress-bar-webpack-plugin": "^1.12.1", "raw-loader": "^4.0.0", "react-hot-loader": "^4.12.10", "resolve-url-loader": "^2.0.2", "style-loader": "^1.1.3", "terser-webpack-plugin": "^2.3.6", "ts-loader": "^6.2.1", "tslint": "^5.8.0", "tslint-config-alloy": "0.2.0", "tslint-config-standard": "^7.0.0", "tslint-loader": "^3.5.3", "update-notifier": "^4.1.1", "uglifyjs-webpack-plugin": "^2.2.0", "url-loader": "^3.0.0", "webpack": "^4.42.1", "webpack-bundle-analyzer": "^3.6.1", "webpack-cli": "^3.3.10", "webpack-dev-server": "^3.10.3", "webpack-spritesmith": "^1.1.0", "webpack-filter-warnings-plugin": "^1.2.1", "typescript": "^4.3.2" }, "main": "index.js", "bin": { "brain-cli": "./bin/index.js" }, "typings": "config.d.ts" }