forked from RevillWeb/img-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
24 lines (24 loc) · 982 Bytes
/
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
{
"name": "img-2",
"version": "0.0.1",
"description": "Replace <img /> elements with <img-2> to automatically pre-cache images and improve page performance.",
"main": "dist/img-2.module.js",
"scripts": {
"watch": "babel --plugins=transform-class-properties,transform-es2015-modules-strip src/img-2.js --out-file dist/img-2.js --watch",
"build": "babel --plugins=transform-class-properties,transform-es2015-modules-strip src/img-2.js --out-file dist/img-2.js && babel --plugins=transform-class-properties --presets=es2015 src/img-2.js --out-file dist/img-2.es5.js",
"serve": "http-server -p 3232 ."
},
"keywords": [
"pre-cache",
"pre-load"
],
"author": "Leon Revill (@revillweb)",
"license": "MIT",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-modules-strip": "^0.1.1",
"babel-preset-es2015": "^6.24.1",
"http-server": "^0.11.1"
}
}