-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 3.54 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "vue-webpack-ts",
"description": "A Vue.js project",
"version": "1.0.0",
"author": "Yong <149126@qq.com>",
"private": true,
"engines": {
"node": ">=6",
"npm": ">=3"
},
"scripts": {
"build": "cross-env NODE_ENV=production npm run clean && npm run test && npm run sass && npm run copy:bs && npm run build:parts && npm run clean:css && npm run process:html",
"build:parts": "npm run sass && npm run compile",
"ci:teamcity": "karma --env=tc start karma.coverage.js && npm run coverage:remap",
"ci:jenkins": "karma --env=jk start karma.coverage.js && npm run coverage:remap",
"clean": "rimraf dist && rimraf coverage",
"clean:css": "cleancss -o dist/css/main.min.css src/css/bootstrap.css src/css/main.css",
"compile": "webpack --config config/webpack.config.prod.js",
"copy:bs": "ncp node_modules/bootstrap/dist/css/bootstrap.css src/css/bootstrap.css",
"coverage": "npm run coverage:run && npm run coverage:remap && npm run coverage:open",
"coverage:open": "opn coverage/html-ts/index.html",
"coverage:remap": "remap-istanbul -i coverage/json/coverage-final.json -o coverage/html-ts -t html",
"coverage:run": "cross-env NODE_ENV=development karma start karma.coverage.js",
"dev": "cross-env NODE_ENV=development npm run sass && npm run copy:bs && concurrently --kill-others \"webpack-dev-server --hot --inline\" \"node-sass --watch --output ./src/css ./src/sass\"",
"lint": "tslint src/**/*.ts",
"process:html": "htmlprocessor src/index.html -o dist/index.html",
"sass": "node-sass --output ./src/css ./src/sass",
"serve": "http-server dist/ -o",
"test": "cross-env NODE_ENV=development karma start karma.unit.js",
"test:debug": "cross-env NODE_ENV=development karma start karma.debug.js",
"test:watch": "cross-env NODE_ENV=development karma start karma.unit.js --singleRun=false --auto-watch"
},
"dependencies": {
"axios": "~0.15.3",
"bootstrap": "~3.3.7",
"tencent-wx-jssdk": "^1.2.1-dev.201708161028",
"vue": "~2.2.4",
"vue-class-component": "~5.0.0",
"vue-property-decorator": "~4.0.0",
"vue-router": "~2.3.0"
},
"devDependencies": {
"@types/mocha": "~2.2.40",
"@types/node": "~7.0.8",
"@types/sinon": "~1.16.36",
"awesome-typescript-loader": "~3.1.2",
"chai": "~3.5.0",
"clean-css-cli": "~4.0.9",
"compression-webpack-plugin": "~0.3.2",
"concurrently": "~3.4.0",
"copy-webpack-plugin": "~4.0.1",
"cross-env": "^3.2.4",
"es6-promise": "~4.1.0",
"file-loader": "~0.10.1",
"globby": "~6.1.0",
"htmlprocessor": "~0.2.4",
"http-server": "~0.9.0",
"istanbul-instrumenter-loader": "~2.0.0",
"json-loader": "~0.5.4",
"karma": "~1.5.0",
"karma-chai": "~0.1.0",
"karma-chrome-launcher": "~2.0.0",
"karma-coverage": "~1.1.1",
"karma-junit-reporter": "~1.2.0",
"karma-mocha": "~1.3.0",
"karma-mocha-reporter": "~2.2.2",
"karma-phantomjs-launcher": "~1.0.4",
"karma-sinon": "~1.0.5",
"karma-source-map-support": "~1.2.0",
"karma-sourcemap-loader": "~0.3.7",
"karma-teamcity-reporter": "~1.0.0",
"karma-webpack": "~2.0.3",
"lodash.merge": "~4.6.0",
"minimist": "~1.2.0",
"mocha": "~3.2.0",
"ncp": "~2.0.0",
"node-sass": "~4.5.0",
"opn-cli": "~3.1.0",
"phantomjs-prebuilt": "~2.1.14",
"raw-loader": "~0.5.1",
"remap-istanbul": "~0.9.1",
"rimraf": "~2.6.1",
"sinon": "~2.1.0",
"tslint": "~4.5.1",
"tslint-loader": "~3.4.3",
"typescript": "~2.2.1",
"webpack": "~2.2.1",
"webpack-dev-server": "~2.4.2"
}
}