-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
70 lines (70 loc) · 1.86 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": "swagger-data-gen",
"version": "0.2.0-beta.1",
"description": "Generate mock data for a swagger document.",
"main": "./dist/src/SwaggerDataGen.js",
"types": "./dist/src/types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/EricHenry/swagger-data-gen.git"
},
"keywords": [
"swagger",
"mock",
"fake",
"data",
"definition",
"generate",
"generator",
"openAPI"
],
"author": "Eric Henry Correia",
"license": "MIT",
"bugs": {
"url": "https://github.com/EricHenry/swagger-data-gen/issues"
},
"homepage": "https://github.com/EricHenry/swagger-data-gen#readme",
"bin": {
"swagger-data-gen": "./dist/index.js"
},
"scripts": {
"test": "ava",
"build": "tsc -p . && npm run uglify",
"uglify": "npm run uglify:bin && npm run uglify:main",
"uglify:bin": "uglifyjs ./dist/index.js --compress --mangle --output ./dist/index.min.js",
"uglify:main": "uglifyjs ./dist/src/SwaggerDataGen.js --compress --mangle --output ./dist/src/SwaggerDataGen.min.js ",
"start": "npm run build:live",
"build:live": "nodemon --exec ./node_modules/ts-node -- ./index.ts",
"dev": "./node_modules/ts-node -- ./index.ts"
},
"dependencies": {
"argparse": "1.0.9",
"json-schema-faker": "0.3.1",
"lodash": "4.11.1",
"swagger-parser": "3.4.1"
},
"devDependencies": {
"@types/argparse": "1.0.30",
"@types/faker": "4.1.0",
"@types/lodash": "4.14.64",
"@types/node": "7.0.18",
"@types/swagger-parser": "4.0.1",
"@types/swagger-schema-official": "2.0.5",
"ava": "^0.14.0",
"nodemon": "1.11.0",
"ts-node": "3.0.4",
"typescript": "2.3.2",
"uglify-js": "3.0.23"
},
"ava": {
"files": [
"test/**/*.test.js"
],
"source": [
"**/*.{js,jsx}",
"!dist/**/*"
],
"failFast": true,
"tap": true
}
}