forked from wilkohein/raml-javascript-generator
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
70 lines (70 loc) · 2.24 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
{
"name": "raml-typescript-generator",
"version": "1.1.1",
"description": "Generate a TypeScript API client from RAML",
"main": "dist/bin.js",
"files": [
"dist/",
"LICENSE"
],
"bin": {
"raml-typescript-generator": "dist/bin.js"
},
"scripts": {
"lint": "# tslint \"src/**/*.ts\"",
"typings": "typings",
"build": "rm -rf dist/ && tsc",
"test-cov": "istanbul cover --print none node_modules/blue-tape/bin/blue-tape.js -- \"test/specs/*.js\" | tap-spec",
"prepublish": "typings install && npm run build",
"generate-client": "node dist/bin.js test/support/fixtures/example.raml -o test/.tmp/example && cd test/.tmp/example && npm install",
"test-browser": "browserify -i nock -t envify test/specs/*.js | tape-run --render tap-spec",
"test-server-open": "node test/support/server.js & echo $! > test.pid",
"test-server-close": "if [ -f test.pid ]; then kill -9 $(cat test.pid); rm test.pid; fi",
"test": "npm run lint && npm run build && npm run generate-client && npm run test-server-open && npm run test-cov && npm run test-browser; npm run test-server-close"
},
"repository": {
"type": "git",
"url": "git://github.com/brainboutique/raml-typescript-generator.git"
},
"keywords": [
"raml",
"client",
"api",
"javascript",
"interface"
],
"author": "Wilko Hein",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/brainboutique/raml-typescript-generator/issues"
},
"homepage": "https://github.com/brainboutique/raml-typescript-generator",
"devDependencies": {
"@types/core-js": "^0.9.35",
"@types/node": "^4.0.30",
"blue-tape": "^0.2.0",
"browserify": "^13.0.0",
"envify": "^3.4.0",
"express": "^4.12.3",
"istanbul": "^1.0.0-alpha.2",
"methods": "^1.1.2",
"nock": "^7.5.0",
"sinon": "^1.16.1",
"tap-spec": "^4.1.1",
"tape-run": "^2.1.0",
"typescript": "^2.1.5",
"typings": "^0.7.9"
},
"dependencies": {
"camel-case": "^1.2.2",
"clone": "^2.1.0",
"javascript-stringify": "^1.0.2",
"json-schema-to-typescript": "^3.1.0",
"param-case": "^1.1.2",
"pascal-case": "^1.1.2",
"raml-generator": "^1.0.0-3",
"strands": "^1.0.1",
"uniqueid": "^1.0.0",
"xtend": "^4.0.1"
}
}