1 | {
|
2 | "name": "qu-build",
|
3 | "version": "1.5.2",
|
4 | "description": "Build tools for FE",
|
5 | "bin": {
|
6 | "qu-build": "./bin/build"
|
7 | },
|
8 | "main": "lib/build.js",
|
9 | "module": "es/build.js",
|
10 | "files": [
|
11 | "bin",
|
12 | "es",
|
13 | "lib",
|
14 | "template"
|
15 | ],
|
16 | "scripts": {
|
17 | "clean": "rimraf dist lib es",
|
18 | "build:commonjs": "better-npm-run build-commonjs",
|
19 | "build:es": "better-npm-run build-es",
|
20 | "build": "npm run clean && npm run build:commonjs && npm run build:es",
|
21 | "lint": "eslint --ext .js src",
|
22 | "lint:fix": "eslint --fix --ext .js src",
|
23 | "test": "better-npm-run test"
|
24 | },
|
25 | "betterScripts": {
|
26 | "build-commonjs": {
|
27 | "command": "babel src --out-dir lib",
|
28 | "env": {
|
29 | "BABEL_ENV": "commonjs"
|
30 | }
|
31 | },
|
32 | "build-es": {
|
33 | "command": "babel src --out-dir es",
|
34 | "env": {
|
35 | "BABEL_ENV": "es"
|
36 | }
|
37 | },
|
38 | "test": {
|
39 | "command": "jest --config jest.json"
|
40 | }
|
41 | },
|
42 | "repository": {
|
43 | "type": "git",
|
44 | "url": "git@github.com:quteam/qu-build.git"
|
45 | },
|
46 | "keywords": [
|
47 | "webpack",
|
48 | "typescript",
|
49 | "es",
|
50 | "babel"
|
51 | ],
|
52 | "author": "haovei <haovei@gmail.com>",
|
53 | "license": "MIT",
|
54 | "dependencies": {
|
55 | "@babel/cli": "^7.0.0-beta.42",
|
56 | "@babel/core": "^7.0.0-beta.42",
|
57 | "@babel/plugin-transform-runtime": "^7.0.0-beta.42",
|
58 | "@babel/polyfill": "^7.0.0-beta.42",
|
59 | "@babel/preset-env": "^7.0.0-beta.42",
|
60 | "@babel/preset-react": "^7.0.0-beta.42",
|
61 | "@babel/preset-stage-0": "^7.0.0-beta.42",
|
62 | "@babel/runtime": "^7.0.0-beta.42",
|
63 | "ajv": "^6.4.0",
|
64 | "autoprefixer": "^8.2.0",
|
65 | "babel-loader": "^8.0.0-beta.0",
|
66 | "better-npm-run": "^0.1.0",
|
67 | "body-parser": "^1.18.2",
|
68 | "case-sensitive-paths-webpack-plugin": "^2.1.2",
|
69 | "chalk": "^2.3.2",
|
70 | "commander": "^2.15.1",
|
71 | "connect-history-api-fallback": "^1.5.0",
|
72 | "copy-webpack-plugin": "^4.5.1",
|
73 | "css-loader": "^0.28.11",
|
74 | "eventsource-polyfill": "^0.9.6",
|
75 | "expect": "^22.4.3",
|
76 | "express": "^4.16.3",
|
77 | "extract-text-webpack-plugin": "^3.0.2",
|
78 | "file-loader": "^1.1.11",
|
79 | "friendly-errors-webpack-plugin": "^1.6.1",
|
80 | "glob": "^7.1.2",
|
81 | "html-webpack-plugin": "^2.30.1",
|
82 | "imagemin-webpack-plugin": "^2.0.0",
|
83 | "jest": "^22.4.3",
|
84 | "json-loader": "^0.5.7",
|
85 | "less": "^2.7.3",
|
86 | "less-loader": "^4.0.5",
|
87 | "less-plugin-npm-import": "^2.1.0",
|
88 | "map-json-webpack-plugin": "^1.2.0",
|
89 | "mockjs": "^1.0.1-beta3",
|
90 | "ncp": "^2.0.0",
|
91 | "node-walkdir": "^0.1.1",
|
92 | "postcss": "^6.0.21",
|
93 | "postcss-loader": "^2.1.3",
|
94 | "raw-loader": "^0.5.1",
|
95 | "rimraf": "^2.6.2",
|
96 | "style-loader": "^0.20.3",
|
97 | "sw-precache-webpack-plugin": "^0.11.4",
|
98 | "ts-loader": "^4.1.0",
|
99 | "typescript": "^2.7.2",
|
100 | "uglifyjs-webpack-plugin": "^1.2.4",
|
101 | "url-loader": "^1.0.1",
|
102 | "vue": "^2.5.16",
|
103 | "vue-template-compiler": "^2.5.16",
|
104 | "vue-tpl-loader": "^0.4.2",
|
105 | "webpack": "^3.10.0",
|
106 | "webpack-dev-middleware": "^1.12.2",
|
107 | "webpack-hot-middleware": "^2.21.0"
|
108 | },
|
109 | "devDependencies": {
|
110 | "babel-eslint": "^8.2.2",
|
111 | "eslint": "^4.19.1",
|
112 | "eslint-config-airbnb-base": "^12.1.0",
|
113 | "eslint-plugin-import": "^2.9.0",
|
114 | "i18n-webpack-plugin": "^1.0.0"
|
115 | },
|
116 | "engines": {
|
117 | "node": ">= 8.5.0"
|
118 | }
|
119 | }
|