-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.18 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
{
"name": "img-lazy-processor",
"version": "0.1.4",
"description": "Through the modern browser Observer API of Mutation Observer and Intersection Observer, lazy loading of img tags and friendly prompts for empty addresses or loading failures",
"scripts": {
"build:dev": "cross-env NODE_ENV=development rollup -c",
"build:prod": "cross-env NODE_ENV=production rollup -c",
"build": "yarn run build:dev && yarn run build:prod",
"test": "yarn run lint && yarn run build",
"lint": "yarn eslint src/**/*.js test/**/*.js --fix",
"prepublishOnly": "yarn run build"
},
"main": "dist/img-lazy-processor.common.js",
"module": "dist/img-lazy-processor.esm.js",
"keywords": [
"img",
"lazy",
"Mutation Observer",
"Intersection Observer"
],
"repository": {
"type": "git",
"url": "git+https://github.com/SCWR/img-lazy-processor.git"
},
"author": {
"name": "SCWR",
"email": "dl_run@qq.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/SCWR/img-lazy-processor/issues"
},
"prettier": {
"singleQuote": true,
"semi": false
},
"homepage": "https://github.com/SCWR/img-lazy-processor#readme",
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"cross-env": "^5.2.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.2.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-html": "^5.0.5",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jest": "^22.5.1",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"intersection-observer": "^0.7.0",
"jest": "^24.8.0",
"prettier": "^1.17.0",
"rollup": "^1.12.5",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-resolve": "^5.0.0",
"rollup-plugin-terser": "^5.0.0"
},
"engines": {
"node": ">= 6.0.0"
},
"files": [
"dist",
"vue-directive",
"polyfill"
]
}