-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 loc) 路 1.29 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
{
"name": "granny",
"version": "0.2.10",
"keywords": [
""
],
"description": "A clint library for Granny image delivery server",
"homepage": "https://github.com/mrspartak/granny-js-client",
"author": "Spartak <iam@spartak.io> (https://spartak.io/)",
"repository": {
"type": "git",
"url": "https://github.com/mrspartak/granny-js-client.git"
},
"license": "MIT",
"main": "src/index.js",
"browser": {
"src/index.js": "build/index.js",
"file-type": "file-type/browser"
},
"scripts": {
"dev": "watchify src/index.js -s Granny -v -o build/index.js",
"build": "cp src/index.js tmp/index.js && browserify tmp/index.js -s Granny -v -o build/index.js",
"format": "prettier --write \"src/**/*.js\"",
"doc": "cp src/index.js tmp/index.js && documentation build tmp/index.js -f md > API.md",
"prepare": "npm run build",
"preversion": "npm run format",
"version": "npm run format && npm run doc && git add -A src",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"babelify": "^10.0.0",
"prettier": "2.0.5"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"file-type": "^14.1.3",
"superagent": "^5.2.1"
},
"browserify": {
"transform": [
"babelify"
]
}
}