-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.31 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
{
"name": "mp-svg-loader",
"version": "0.1.1",
"description": "Webpack loader processing SVG in WeChat Mini Program",
"main": "dist/mp-svg-loader.cjs.js",
"module": "dist/mp-svg-loader.es.js",
"scripts": {
"prepublish": "npm run build",
"lint": "eslint *.js src/ test/",
"lint:watch": "esw *.js src/ test/ -w",
"coverage": "npm run ava:coverage",
"ava": "ava test/ --verbose",
"ava:watch": "ava test/ --watch --verbose",
"ava:coverage": "nyc ava test/ --verbose",
"dev": "concurrently -p \"[{name}]\" -n \"lint,ava\" \"npm run lint:watch\" \"npm run ava:watch\"",
"test": "npm run lint && npm run coverage",
"clean": "rimraf dist",
"build": "npm run clean && npm run build:cjs && npm run build:es",
"build:cjs": "cross-env TARGET=cjs rollup -c",
"build:es": "cross-env TARGET=es rollup -c"
},
"ava": {
"babel": "inherit",
"require": [
"babel-register",
"babel-polyfill"
],
"failWithoutAssertions": false
},
"nyc": {
"include": [
"src/**/*.js"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/malash/mp-svg-loader.git"
},
"keywords": [
"webpack",
"wechat",
"mina",
"mini-program"
],
"author": "i@malash.me",
"license": "MIT",
"bugs": {
"url": "https://github.com/malash/rmp-svg-loader/issues"
},
"homepage": "https://github.com/malash/mp-svg-loader#readme",
"devDependencies": {
"ava": "^0.25.0",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.0.2",
"babel-plugin-external-helpers": "^6.22.0",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.0",
"babel-preset-stage-0": "^6.22.0",
"babel-register": "^6.26.0",
"concurrently": "^3.5.0",
"cross-env": "^5.0.5",
"eslint": "^4.6.1",
"eslint-config-airbnb-base": "^12.0.0",
"eslint-plugin-import": "^2.7.0",
"eslint-watch": "^3.1.2",
"file-loader": "^1.1.11",
"fs-extra": "^7.0.0",
"nyc": "^11.8.0",
"rollup": "^0.57.1",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-filesize": "^1.4.2",
"svg-inline-loader": "^0.8.0",
"svgo": "^1.0.5",
"url-loader": "^1.0.1",
"webpack": "^4.16.2"
},
"dependencies": {
"loader-utils": "^1.1.0"
},
"peerDependencies": {
"svgo": ">= 1"
}
}