UNPKG

1.82 kBJSONView Raw
1{
2 "name": "@troveng/swagger-gen-js",
3 "version": "1.2.1",
4 "description": "Generates API modules, Flow types, JSON schema and more from Swagger specs",
5 "engines": {
6 "node": ">=6.6.0",
7 "npm": ">=3.10.8"
8 },
9 "main": "./lib/generators/index.js",
10 "bin": {
11 "swagger-gen-js": "./lib/generators/index.js"
12 },
13 "scripts": {
14 "test": "npm run eslint && npm run flow",
15 "eslint": "eslint --fix ./src",
16 "flow": "flow check",
17 "clean": "rm -rf ./utility && rm -rf ./lib",
18 "build": "npm run clean && babel ./src/generators --out-dir ./lib/generators && babel ./src/constants --out-dir ./lib/constants && babel --presets=es2015,stage-1 ./src/utility --out-dir ./utility",
19 "prepublish": "npm run build && npm test"
20 },
21 "repository": {
22 "type": "git",
23 "url": "git+https://github.com/Trov/swagger-gen-js.git"
24 },
25 "author": "Trōv, Inc.",
26 "license": "UNLICENSED",
27 "bugs": {
28 "url": "https://github.com/Trov/swagger-gen-js/issues"
29 },
30 "homepage": "https://github.com/Trov/swagger-gen-js#readme",
31 "devDependencies": {
32 "babel-eslint": "7.1.1",
33 "babel-plugin-transform-flow-strip-types": "6.22.0",
34 "eslint": "3.19.0",
35 "eslint-config-airbnb": "14.1.0",
36 "eslint-config-airbnb-flow": "1.0.2",
37 "eslint-plugin-import": "2.2.0",
38 "eslint-plugin-jsx-a11y": "4.0.0",
39 "flow": "0.2.3",
40 "flow-bin": "0.40.0"
41 },
42 "dependencies": {
43 "babel-cli": "6.24.0",
44 "babel-plugin-react-transform": "2.0.2",
45 "babel-plugin-transform-flow-strip-types": "6.22.0",
46 "babel-preset-es2015": "6.22.0",
47 "babel-preset-react": "6.23.0",
48 "babel-preset-stage-0": "6.22.0",
49 "chalk": "1.1.3",
50 "glob": "7.1.1",
51 "lodash": "4.17.4",
52 "mkdirp": "0.5.1",
53 "pretty-error": "2.0.3",
54 "redux-actions": "0.12.0",
55 "yargs": "^7.0.2"
56 }
57}