forked from EricHenry/swagger-data-gen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 1.93 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
71
72
{
"name": "swagger-data-gen",
"version": "0.2.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.10",
"faker": "^4.1.0",
"json-schema-faker": "0.5.0-rc15",
"lodash": "4.17.10",
"swagger-parser": "5.0.0",
"swagger-schema-official": "^2.0.0-bab6bed"
},
"devDependencies": {
"@types/argparse": "1.0.34",
"@types/faker": "4.1.2",
"@types/lodash": "4.14.110",
"@types/node": "10.3.6",
"@types/swagger-parser": "^4.0.2",
"@types/swagger-schema-official": "2.0.10",
"ava": "^0.25.0",
"nodemon": "1.17.5",
"ts-node": "7.0.0",
"typescript": "2.9.2",
"uglify-js": "3.4.2"
},
"ava": {
"files": [
"test/**/*.test.js"
],
"source": [
"**/*.{js,jsx}",
"!dist/**/*"
],
"failFast": true,
"tap": true
}
}