forked from box/box-openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.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
{
"name": "box-openapi",
"version": "3.0.2",
"description": "Box Platform OpenAPI Specification",
"scripts": {
"prelint": "concurrently 'yarn lint:yaml' 'yarn build:dev'",
"lint": "concurrently 'yarn:lint:spectral' 'yarn:lint:spelling' 'yarn lint:markdown:spelling' 'yarn:lint:sensitivity' 'yarn lint:markdown'",
"lint:spectral": "NODE_NO_WARNINGS=1 spectral lint ./src/dev/openapi.json -F error",
"lint:spelling": "json-schema-spell-checker -a -n -d src/dictionaries/en_US -f 'description,title,summary' ./src/dev/openapi.json",
"lint:markdown:spelling": "mdspell '*.md' './.github/**/*.md' 'docs/*.md' -a -n --en-us -d src/dictionaries/en_US -r",
"lint:sensitivity": "json-schema-sensitivity-checker -f 'description,title,summary' ./src/dev/openapi.json -c .alexrc.json",
"lint:yaml": "yamllint content/",
"lint:markdown": "markdownlint -c markdownlintrc.json ./*.md ./docs/*.md ./.github/**/*.md",
"watch": "concurrently 'yarn:watch:*'",
"watch:tests": "watch 'yarn test' content src/scripts src/spectral docs",
"watch:build": "watch 'yarn run build:dev' content",
"clean": "rm -rf compiled && mkdir compiled",
"prebuild": "yarn run clean & yarn run build:index",
"build": "NODE_NO_WARNINGS=1 node -e 'require(\"./src/scripts/specLoader\").writeSpecification(\"./compiled/openapi\")'",
"build:dev": "NODE_NO_WARNINGS=1 node -e 'require(\"./src/scripts/specLoader\").writeSpecification(\"src/dev\")'",
"build:index": "webpack --config webpack.dev.js",
"build:copy": "cp -rf .github src/dev/index.build.js src/dev/index.html src/dev/auth.html compiled/openapi",
"build:swagger": "node -e 'require(\"./src/scripts/swaggerConverter\").writeSpecification(\"./compiled/swagger\")'",
"postbuild": "yarn run build:copy",
"dev-server": "webpack-dev-server --config webpack.dev.js",
"start": "concurrently 'yarn:dev-server' 'yarn:watch'",
"test": "yarn lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/box/box-openapi.git"
},
"keywords": [
"swagger",
"openapi",
"specification",
"api",
"box"
],
"author": "Box, Inc <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/box/box-openapi/issues"
},
"homepage": "https://developer.box.com/",
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.1",
"@stoplight/spectral": "^5.2.0",
"axios": "^0.20.0",
"concurrently": "^5.0.0",
"css-loader": "^4.2.0",
"eslint-plugin-json": "^2.1.1",
"fs-extra": "^9.0.0",
"js-yaml": "^3.13.1",
"json-schema-sensitivity-checker": "^1.0.3",
"json-schema-spell-checker": "^1.0.1",
"jsonpath": "^1.0.2",
"markdown-spellcheck": "^1.3.1",
"markdownlint-cli": "^0.24.0",
"style-loader": "^1.0.0",
"swagger-ui": "^3.24.2",
"watch": "^1.0.2",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
},
"private": true
}