forked from ApoorvSaxena/lozad.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 2.41 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
{
"name": "lozad",
"title": "lozad.js",
"description": "A light-weight JS library to lazy load any HTML element such as images, ads, videos etc.",
"version": "1.7.0",
"homepage": "https://github.com/ApoorvSaxena/lozad.js",
"scripts": {
"test": "nyc mocha",
"build": "rollup -c",
"build:watch": "rollup -c -w -m inline",
"prepublish": "npm run build",
"prelint": "prettier --single-quote --no-semi --no-bracket-spacing --trailing-comma none --write \"lib/**/*.js\" --write build.js --write \"test/*.js\"",
"precommit": "npm run lint && npm run build",
"lint": "xo --fix src/*.js build.js test/*.js",
"serve": "browser-sync start --server \"demo\" --server \".\" --files \"demo\" --files \"dist\" --port 3000",
"dev": "run-p -r serve build:watch",
"tag": "npm version minor --no-git-tag-version && npm run build && PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git commit -am \"$PACKAGE_VERSION release\" && git tag v$PACKAGE_VERSION"
},
"author": {
"name": "Apoorv Saxena",
"email": "[email protected]",
"url": "https://apoorv.pro"
},
"browser": "dist/lozad.min.js",
"main": "dist/lozad.js",
"module": "dist/lozad.es.js",
"repository": {
"type": "git",
"url": "git://github.com/ApoorvSaxena/lozad.js.git"
},
"bugs": {
"url": "https://github.com/ApoorvSaxena/lozad.js/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/ApoorvSaxena/lozad.js/blob/master/LICENSE"
}
],
"files": [
"dist/"
],
"keywords": [
"lazy",
"loader",
"lazyloader",
"lazyload",
"performance",
"image",
"video",
"iframe",
"ads"
],
"devDependencies": {
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-preset-stage-0": "^6.24.1",
"browser-sync": "^2.24.6",
"chokidar": "^1.7.0",
"cross-env": "^5.0.5",
"husky": "^0.14.3",
"jsdom": "^11.2.0",
"jsdom-global": "^3.0.2",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.1",
"nyc": "^11.2.1",
"prettier": "^1.6.1",
"rollup": "^0.63.5",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-filesize": "^4.0.1",
"rollup-plugin-license": "^0.7.0",
"rollup-plugin-uglify": "^4.0.0",
"xo": "^0.18.2"
},
"xo": {
"envs": [
"browser",
"mocha"
],
"semicolon": false,
"space": true
}
}