-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
46 lines (46 loc) · 1.44 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
{
"name": "template-rest",
"version": "0.1.0",
"description": "RESTful API JavaScript wrapper",
"keywords": [
"template",
"template-rest",
"restful"
],
"homepage": "https://github.com/uia4w/web-template-rest",
"license": "Apache-2.0",
"author": {
"name": "Kyle K. Lin",
"url": "https://github.com/uia4w/web-template-rest"
},
"main": "dist/template-rest.js",
"module": "index",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/uia4w/web-template-rest"
},
"scripts": {
"clean": "rm -rf dist && mkdir dist",
"pretest": "rm -rf dist && mkdir dist && rollup -c",
"test": "tape test/**/*-test.js && eslint index.js src",
"testfetch": "npm run pretest && tape test/FetchTemplateWebService-testx.js",
"testxhr": "npm run pretest && tape test/XHRTemplateWebService-testx.js",
"build": "npm run test && uglifyjs -b beautify=false dist/template-rest.js -c -m -o dist/template-rest.min.js"
},
"devDependencies": {
"node-fetch": "2.2.1",
"xmlhttprequest": "1.8.0",
"eslint": "4",
"jsdom": "11",
"package-preamble": "0.1",
"rollup": "0.66",
"tape": "4",
"uglify-js": "3.2",
"rollup-plugin-ignore": "1.0.4"
},
"dependencies": {
"node-fetch": "2.2.1",
"xmlhttprequest": "1.8.0"
}
}