-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
179 lines (179 loc) · 5 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "@blossomfinance/rest-ez",
"version": "1.6.0",
"description": "Easy, spec based API test framework for HTTP APIs (REST, GraphQL)",
"homepage": "https://blossomfinance.github.io/rest-ez/",
"keywords": [
"API",
"mocha",
"REST",
"GraphQL",
"testing",
"test",
"restful",
"rest",
"http",
"webservice",
"microservice",
"yaml",
"testrunner",
"QA",
"api",
"automation",
"testreporter"
],
"author": "Kiran Mandadi <[email protected]>",
"contributors": [
"Kiran Mandadi <[email protected]> (https://github.com/kiranz)",
"Matthew Martin <[email protected]> (https://github.com/matmar10)"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/blossomfinance/rest-ez.git"
},
"engines": {
"node": ">=7.10.0",
"npm": ">=4.5.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"start": "npm run docs",
"build": "npm run clean && npm run transpile && npm run dist:files",
"transpile": "babel 'lib/**/*.js' --out-dir .tmp/dist && mv .tmp/dist/lib src",
"docs": "npm run clean:docs && npm run docs:serve",
"docs:build": "codedoc build",
"docs:serve": "codedoc serve",
"dist:files": "npm run dist:files:json && npm run dist:files:css",
"dist:files:json": "mkdir -p src/schema/yaml && cp -r lib/schema/yaml/*.json src/schema/yaml/",
"dist:files:css": "mkdir -p src/reporters/html-src/assets && cp -r lib/reporters/html-src/assets/*.css src/reporters/html-src/assets/",
"clean": "npm run clean:src && npm run clean:test-logs",
"clean:src": "rm -rf src",
"clean:test-logs": "rm -rf test/cli/src/logs && mkdir test/cli/src/logs",
"clean:docs": "find docs -type f -name '*.html' -delete",
"test-api": "npm run test-api:install && npm run test-api:start",
"test-api:install": "cd test/api && npm install && cp db_original.json db.json",
"test-api:start": "npm run test-api:install && cd test/api && node server.js",
"test": "npm run clean:test-logs && mocha --timeout 10000 test/cli/*.spec.js",
"release": "release-it"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.9",
"chai": "4.1.2",
"chalk": "2.4.1",
"commander": "2.11.0",
"debug": "3.1.0",
"error-ex": "1.3.1",
"esprima": "4.0.0",
"glob": "7.1.2",
"he": "1.1.1",
"js-yaml": "^3.14.1",
"jsonpath": "^1.1.1",
"jsonschema": "1.2.2",
"lodash": "^4.17.21",
"mkdirp": "0.5.1",
"pretty-ms": "3.1.0",
"request": "^2.88.2",
"request-cookies": "1.1.0",
"semver": "5.5.0",
"serialize-error": "2.1.0",
"string-template": "1.0.0"
},
"devDependencies": {
"@adobe/jsonschema2md": "^6.1.4",
"@codedoc/cli": "^0.2.8",
"@release-it/conventional-changelog": "^3.3.0",
"babel-cli": "^6.24.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-array-includes": "^2.0.3",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-plugin-transform-es2015-parameters": "^6.24.1",
"babel-plugin-transform-es2015-spread": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-register": "^6.24.1",
"chai": "4.1.2",
"cross-spawn": "6.0.5",
"del": "3.0.0",
"mocha": "5.2.0",
"release-it": "^14.11.8",
"yamljs": "^0.3.0"
},
"bin": {
"rest-ez": "./bin/rest-ez"
},
"files": [
"bin",
"src"
],
"release-it": {
"hooks": {
"before:init": "npm run build"
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "revert",
"section": "Reverts"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "style",
"section": "Styles"
},
{
"type": "refactor",
"section": "Code Refactoring"
},
{
"type": "test",
"section": "Tests"
},
{
"type": "build",
"section": "Build System"
},
{
"type": "ci",
"section": "Continuous Integration"
}
]
}
}
},
"git": {
"commit": true,
"requireUpstream": false,
"tag": true,
"push": true
},
"github": {
"release": true
},
"npm": {
"publish": true
}
}
}