qu-build
Version:
Build tools for FE
142 lines (141 loc) • 4.18 kB
JSON
{
"name": "qu-build",
"version": "2.2.0",
"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",
"env": {
"BABEL_ENV": "test"
}
}
},
"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.1.5",
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.1.6",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-bind": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.1.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/plugin-transform-async-to-generator": "^7.1.0",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.1.5",
"ajv": "^6.5.5",
"autoprefixer": "^9.3.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"better-npm-run": "^0.1.1",
"body-parser": "^1.18.3",
"chalk": "^2.4.1",
"commander": "^2.19.0",
"connect-history-api-fallback": "^1.5.0",
"copy-webpack-plugin": "^4.6.0",
"css-loader": "^1.0.1",
"eventsource-polyfill": "^0.9.6",
"expect": "^23.0.1",
"express": "^4.16.4",
"file-loader": "^2.0.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"glob": "^7.1.3",
"html-webpack-plugin": "^3.2.0",
"image-webpack-loader": "^4.5.0",
"imagemin-svgo": "^7.0.0",
"jest": "^23.6.0",
"json-loader": "^0.5.7",
"less": "^3.0.4",
"less-loader": "^4.1.0",
"less-plugin-npm-import": "^2.1.0",
"map-json-webpack-plugin": "^1.2.0",
"mini-css-extract-plugin": "^0.4.3",
"mockjs": "^1.0.1-beta3",
"ncp": "^2.0.0",
"postcss": "^7.0.6",
"postcss-loader": "^3.0.0",
"raw-loader": "^0.5.1",
"regenerator-runtime": "^0.13.1",
"rimraf": "^2.6.2",
"style-loader": "^0.23.1",
"sw-precache-webpack-plugin": "^0.11.4",
"ts-loader": "^5.3.1",
"typescript": "^3.1.6",
"url-loader": "^1.1.2",
"vue": "^2.5.17",
"vue-template-compiler": "^2.5.17",
"vue-tpl-loader": "^1.0.0",
"webpack": "^4.26.1",
"webpack-dev-middleware": "^3.4.0",
"webpack-hot-middleware": "^2.24.3"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"eslint": "^5.9.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.12.0"
},
"engines": {
"node": ">= 8.5.0"
}
}