-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
113 lines (113 loc) · 3.39 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
{
"name": "@commerce-apps/raml-toolkit",
"version": "0.5.4",
"description": "",
"keywords": [
"oclif",
"raml"
],
"homepage": "https://github.com/SalesforceCommerceCloud/raml-toolkit",
"license": "BSD 3-Clause",
"author": "",
"main": "lib/index.js",
"bin": {
"raml-toolkit": "./bin/run",
"ramlint": "./bin/run"
},
"files": [
"/bin",
"/lib",
"/oclif.manifest.json",
"/resources"
],
"scripts": {
"build": "npm run compile",
"clean": "rm -rf lib",
"compile": "tsc -b && echo Compiled",
"cover:unit": "nyc npm run test:unit",
"cover:unit:ci": "nyc npm run test:unit:ci",
"depcheck": "depcheck",
"docs": "npm run clean && npm run compile && oclif-dev readme",
"lint": "sort-package-json && eslint . --ext .ts --fix",
"lint:ci": "eslint . --ext .ts --quiet",
"prepack": "npm run clean && npm run compile && oclif-dev manifest && oclif-dev readme",
"postpack": "rm -f oclif.manifest.json",
"prepare": "npm run snyk-protect",
"snyk-protect": "snyk protect",
"pretest": "npm run lint && npm run compile && npm run depcheck",
"test": "npm run cover:unit && npm run test:resource",
"pretest:ci": "npm run lint:ci && npm run compile && npm run depcheck",
"test:ci": "npm run pretest:ci && npm run cover:unit:ci && npm run test:resource:ci",
"test:resource": "mocha \"resources/**/*.test.ts\"",
"test:resource:ci": "npm run test:resource -- --reporter=xunit --reporter-options output=./reports/resourceTests.xml",
"test:unit": "mocha \"src/**/*.test.ts\"",
"test:unit:ci": "npm run test:unit -- --reporter=xunit --reporter-options output=./reports/unitTests.xml"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"git add"
]
},
"dependencies": {
"@oclif/command": "^1.8.0",
"@oclif/config": "^1.17.0",
"amf-client-js": "^4.3.0",
"dotenv": "^8.2.0",
"fs-extra": "^8.1.0",
"handlebars": "^4.7.6",
"js-yaml": "^3.14.0",
"json-rules-engine": "^5.0.3",
"jsondiffpatch": "^0.4.1",
"lodash": "^4.17.20",
"loglevel": "^1.6.8",
"make-fetch-happen": "^8.0.10",
"snyk": "^1.428.2",
"tmp": "^0.2.0",
"ts-node": "^8.10.2",
"unzipper": "^0.10.11"
},
"devDependencies": {
"@fintechstudios/eslint-plugin-chai-as-promised": "^3.0.2",
"@oclif/dev-cli": "^1.22.2",
"@oclif/parser": "^3.8.5",
"@oclif/test": "^1.2.7",
"@types/chai-as-promised": "^7.1.2",
"@types/chai-fs": "^2.0.2",
"@types/fs-extra": "^8.0.1",
"@types/js-yaml": "^3.12.2",
"@types/jszip": "^3.1.7",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.6",
"@types/sinon": "^9.0.0",
"@types/tmp": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^2.17.0",
"@typescript-eslint/parser": "^2.17.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-fs": "^2.0.0",
"depcheck": "^0.9.2",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-header": "^3.0.0",
"eslint-plugin-prettier": "^3.1.0",
"jszip": "^3.2.2",
"lint-staged": "^8.1.0",
"mocha": "^8.2.1",
"nock": "^12.0.2",
"nyc": "^15.0.0",
"prettier": "^2.0.5",
"sinon": "^9.0.2",
"sort-package-json": "^1.44.0",
"tslib": "^1.10.0",
"typescript": "^3.9.7"
},
"publishConfig": {
"access": "public"
},
"oclif": {
"bin": "raml-toolkit",
"commands": "./lib/commands"
},
"snyk": true
}