forked from MMF-FE/svgicon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 3.34 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
{
"name": "vue-svgicon",
"version": "3.1.0",
"description": "A tool to create svg icon components. (vue 2.x)",
"main": "./dist/components/svgicon.common.js",
"typings": "typings/index.d.ts",
"bin": {
"vsvg": "./dist/lib/index.js"
},
"scripts": {
"serve": "vue-cli-service serve",
"serve:lib": "tsc -w -p ./lib/tsconfig.json",
"build": "APP_ENV=lib vue-cli-service build --target lib --name svgicon ./src/components/SvgIcon.vue",
"build:lib": "rm -rf dist/lib && tsc -p ./lib/tsconfig.json",
"build:demo": "vue-cli-service build",
"deploy:demo": "./scripts/deploy.sh",
"test": "vue-cli-service test:unit",
"svg": "node ./dist/lib/index.js -s ./src/assets/svg -t ./src/components/icons",
"svg:async": "node ./dist/lib/index.js -s ./src/assets/svg-async -t ./src/components/icons-async --ext ts --es6",
"svg:ts": "node ./dist/lib/index.js -s ./src/assets/svg -t ./src/components/icons --ext ts --es6",
"debug": "node --nolazy --inspect-brk=5858 ./dist/lib/index.js -s ./src/assets/svg -t ./src/components/icons"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MMF-FE/vue-svgicon.git"
},
"keywords": [
"vue",
"vue2.0",
"svg",
"icon",
"svgicon"
],
"author": "allenice <994298628@qq.com> (http://blog.allenice233.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/MMF-FE/vue-svgicon/issues"
},
"homepage": "https://github.com/MMF-FE/vue-svgicon#readme",
"files": [
"dist/",
"default/",
"typings/index.d.ts"
],
"dependencies": {
"colors": "^1.3.0",
"fs-plus": "^3.0.2",
"glob": "^7.1.2",
"svgo": "^1.0.5",
"tslib": "^1.9.3",
"vue": "^2.5.16",
"yargs": "^12.0.1"
},
"devDependencies": {
"@types/chai": "^4.1.0",
"@types/fs-plus": "^3.0.0",
"@types/glob": "^5.0.35",
"@types/highlight.js": "^9.12.3",
"@types/lodash.merge": "^4.6.3",
"@types/mocha": "^2.2.46",
"@types/svgo": "^1.0.1",
"@types/yargs": "^11.0.0",
"@vue/cli-plugin-babel": "^3.0.0",
"@vue/cli-plugin-typescript": "^3.0.0",
"@vue/cli-plugin-unit-mocha": "^3.0.0",
"@vue/cli-service": "^3.0.0",
"@vue/test-utils": "^1.0.0-beta.16",
"chai": "^4.1.2",
"highlight.js": "^9.12.0",
"lint-staged": "^6.0.0",
"node-sass": "^4.9.0",
"prettier": "^1.13.7",
"prettier-stylelint": "^0.4.2",
"sass-loader": "^7.0.1",
"stylelint-config-standard": "^18.2.0",
"stylelint-order": "^0.8.1",
"ts-node": "^7.0.0",
"typescript": "^3.0.1",
"vue-class-component": "^6.0.0",
"vue-property-decorator": "^6.0.0",
"vue-template-compiler": "^2.5.16"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"concurrent": false,
"linters": {
"*.{ts,js,json,tsx}": "prettier --write",
"*.scss": "prettier-stylelint --write",
"*": "git add"
}
},
"engines": {
"node": ">= 5.0.0",
"npm": ">= 3.0.0"
}
}