-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
106 lines (106 loc) · 3.05 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "vue-ellipsis-text",
"description": "A vue component for web developers",
"version": "1.0.3",
"author": "BabyChin",
"license": "MIT",
"private": false,
"homepage": "https://github.com/qinhua/vue-ellipsis-text",
"repository": {
"type": "git",
"url": "https://github.com/qinhua/vue-ellipsis-text.git"
},
"keywords": [
"ellipsisText"
],
"main": "dist/ellipsisText.umd.js",
"browser": {
"tipso": "src/ellipsisText/index.js"
},
"_requested": {
"type": "tag",
"registry": true,
"raw": "ellipsisText",
"name": "ellipsisText",
"escapedName": "ellipsisText",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
"start": "npm run dev",
"test": "jest /test/unit/ellipsisText.spec.js --detectOpenHandles",
"build:demo": "cross-env NODE_ENV=production webpack --config webpack.config.js --progress --hide-modules",
"build:amd": "webpack --config config/webpack.config.amd.js --hide-modules",
"build:cmd": "webpack --config config/webpack.config.cmd.js --hide-modules",
"build:umd": "webpack --config config/webpack.config.umd.js --hide-modules",
"build": "npm run build:amd && npm run build:cmd && npm run build:umd"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8",
"iOS 7",
"last 3 iOS versions"
],
"dependencies": {
"vue": "^2.5.11"
},
"devDependencies": {
"@vue/test-utils": "^1.0.0-beta.28",
"autoprefixer": "^9.2.1",
"babel-core": "^6.26.0",
"babel-jest": "^23.6.0",
"babel-loader": "^7.1.2",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-preset-env": "^1.6.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"clean-webpack-plugin": "^0.1.19",
"cross-env": "^5.0.5",
"css-loader": "^0.28.7",
"eslint": "^5.9.0",
"eslint-plugin-prettier": "^3.0.0",
"html-webpack-plugin": "^3.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.6.0",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"postcss-loader": "^3.0.0",
"style-loader": "^0.23.1",
"url-loader": "^1.1.2",
"vue-jest": "^3.0.0",
"vue-loader": "^14.2.4",
"vue-template-compiler": "^2.6.11",
"webpack": "^3.12.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^2.9.7"
},
"jest": {
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.jsx?$",
"moduleFileExtensions": [
"js",
"json",
"vue"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src",
"\\.(css|less)$": "identity-obj-proxy"
},
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
},
"collectCoverage": false,
"collectCoverageFrom": [
"**/*.{js,vue}",
"!**/node_modules/**"
],
"coverageReporters": [
"html",
"text-summary"
]
}
}