UNPKG

qu-build

Version:
125 lines (124 loc) 3.35 kB
{ "name": "qu-build", "version": "1.5.13", "description": "Build tools for FE", "bin": { "qu-build": "./bin/build" }, "main": "lib/build.js", "module": "es/build.js", "files": [ "bin", "es", "lib", "template", "jest.config.js", "jest.transform.js", "tsconfig.jest.json" ], "scripts": { "clean": "rimraf dist lib es", "build:commonjs": "better-npm-run build-commonjs", "build:es": "better-npm-run build-es", "build": "npm run clean && npm run build:commonjs && npm run build:es", "lint": "eslint --ext .js src", "lint:fix": "eslint --fix --ext .js src", "test": "better-npm-run test" }, "betterScripts": { "build-commonjs": { "command": "babel src --out-dir lib", "env": { "BABEL_ENV": "commonjs" } }, "build-es": { "command": "babel src --out-dir es", "env": { "BABEL_ENV": "es" } }, "test": { "command": "jest --config jest.json" } }, "repository": { "type": "git", "url": "git@github.com:quteam/qu-build.git" }, "keywords": [ "webpack", "typescript", "es", "babel" ], "author": "haovei <haovei@gmail.com>", "license": "MIT", "dependencies": { "@babel/cli": "7.0.0-beta.46", "@babel/core": "7.0.0-beta.46", "@babel/plugin-transform-runtime": "7.0.0-beta.46", "@babel/polyfill": "7.0.0-beta.46", "@babel/preset-env": "7.0.0-beta.46", "@babel/preset-react": "7.0.0-beta.46", "@babel/preset-stage-0": "7.0.0-beta.46", "@babel/runtime": "7.0.0-beta.46", "ajv": "^6.4.0", "autoprefixer": "^8.2.0", "babel-core": "^7.0.0-0", "babel-jest": "^22.4.3", "babel-loader": "^8.0.0-beta.0", "better-npm-run": "^0.1.0", "body-parser": "^1.18.2", "case-sensitive-paths-webpack-plugin": "^2.1.2", "chalk": "^2.3.2", "commander": "^2.15.1", "connect-history-api-fallback": "^1.5.0", "copy-webpack-plugin": "^4.5.1", "css-loader": "^0.28.11", "eventsource-polyfill": "^0.9.6", "expect": "^22.4.3", "express": "^4.16.3", "extract-text-webpack-plugin": "^3.0.2", "file-loader": "^1.1.11", "friendly-errors-webpack-plugin": "^1.6.1", "glob": "^7.1.2", "html-webpack-plugin": "^2.30.1", "imagemin-webpack-plugin": "^2.0.0", "jest": "^22.4.3", "json-loader": "^0.5.7", "less": "^2.7.3", "less-loader": "^4.0.5", "less-plugin-npm-import": "^2.1.0", "map-json-webpack-plugin": "^1.2.0", "mockjs": "^1.0.1-beta3", "ncp": "^2.0.0", "node-walkdir": "^0.1.1", "postcss": "^6.0.21", "postcss-loader": "^2.1.3", "raw-loader": "^0.5.1", "rimraf": "^2.6.2", "style-loader": "^0.20.3", "sw-precache-webpack-plugin": "^0.11.4", "ts-loader": "^4.2.0", "typescript": "^2.8.1", "uglifyjs-webpack-plugin": "^1.2.4", "url-loader": "^1.0.1", "vue": "^2.5.16", "vue-template-compiler": "^2.5.16", "vue-tpl-loader": "^0.4.3", "webpack": "^3.10.0", "webpack-dev-middleware": "^1.12.2", "webpack-hot-middleware": "^2.21.0" }, "devDependencies": { "babel-eslint": "^8.2.2", "eslint": "^4.19.1", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.9.0", "i18n-webpack-plugin": "^1.0.0" }, "engines": { "node": ">= 8.5.0" } }