-
Notifications
You must be signed in to change notification settings - Fork 150
/
package.json
169 lines (169 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
{
"name": "contentful-migration",
"version": "0.0.0-development",
"description": "Migration tooling for contentful",
"author": "Contentful GmbH",
"license": "MIT",
"main": "built/index",
"keywords": [
"contentful",
"content model",
"content type",
"migration",
"migrations",
"migrate"
],
"directories": {
"test": "test",
"lib": "lib"
},
"repository": {
"type": "git",
"url": "https://github.com/contentful/contentful-migration"
},
"scripts": {
"clean": "rimraf built",
"build": "npm run clean && tsc -p tsconfig.json",
"build-dev": "npm run clean && tsc -p tsconfig-dev.json",
"prepare": "npm run build && husky install",
"test": "NOCK_RECORD=0 npm run build && npm run test:unit && npm run test:integration && npm run test:e2e && npm run lint && npm run test:typescript-declaration",
"test:watch": "npm run test:unit -- --watch",
"test:unit": "NODE_ENV=test mocha --require test/setup-unit.js --recursive 'test/unit/**/**/*.spec.{js,ts}'",
"test:integration": "NODE_ENV=test mocha --require test/integration/setup.js 'test/integration/**/*.spec.js'",
"posttest": "node test/teardown.js",
"test:e2e": "NODE_ENV=test mocha 'test/end-to-end/**/*.spec.js'",
"test:typescript-declaration": "tsc --strict --noEmit index.d.ts",
"lint": "eslint 'examples/**/*.js' 'test/**/*.js' 'src/**/*.js' && tslint --project tsconfig-dev.json --config tslint.json -e '**/*.js'",
"lint:fix": "prettier --write 'src/**/*.{ts,tsx,js,jsx}' 'test/**/*.{ts,tsx,js,jsx}' && eslint --fix 'examples/**/*.js' 'test/**/*.js' 'src/**/*.js' && tslint --fix --project tsconfig-dev.json --config tslint.json -e '**/*.js'",
"semantic-release": "semantic-release",
"test:unit:debug": "NODE_ENV=test mocha debug --require test/setup-unit.js --recursive 'test/unit/**/**/*.spec.{js,ts}'",
"test:integration:debug": "NODE_ENV=test mocha debug --require test/integration/setup.js 'test/integration/**/*.spec.js'",
"test:e2e:debug": "NODE_ENV=test mocha debug 'test/end-to-end/**/*.spec.js'",
"cm": "git-cz"
},
"files": [
"README.md",
"index.d.ts",
"CHANGELOG.md",
"bin",
"built",
"docs"
],
"dependencies": {
"@hapi/hoek": "^11.0.4",
"axios": "^1.7.7",
"bluebird": "^3.7.2",
"callsites": "^3.1.0",
"cardinal": "^2.1.1",
"chalk": "^4.0.0",
"contentful-management": "^11.35.1",
"didyoumean2": "^5.0.0",
"https-proxy-agent": "^5.0.0",
"inquirer": "^8.1.2",
"joi": "^17.4.0",
"kind-of": "^6.0.3",
"listr2": "^3.13.5",
"lodash": "^4.17.15",
"p-throttle": "^4.1.1",
"uuid": "^10.0.0",
"yargs": "^15.3.1"
},
"devDependencies": {
"@contentful/eslint-config-backend": "^10.2.1",
"@semantic-release/changelog": "^6.0.0",
"@types/bluebird": "^3.5.30",
"@types/chai": "^4.2.11",
"@types/chai-as-promised": "^7.1.2",
"@types/hoek": "^4.1.3",
"@types/inquirer": "^9.0.4",
"@types/joi": "^17.2.3",
"@types/lodash": "^4.14.149",
"@types/mocha": "^10.0.1",
"@types/node": "^22.3.0",
"@types/sinon-chai": "^3.2.4",
"@types/yargs": "^17.0.28",
"chai": "^4.2.0",
"chai-as-promised": "^8.0.0",
"commitizen": "^4.2.2",
"cz-conventional-changelog": "^3.3.0",
"dirty-chai": "^2.0.1",
"eslint": "^8.28.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-mocha": "^10.0.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-standard": "^5.0.0",
"husky": "^7.0.4",
"lint-staged": "^13.1.0",
"mocha": "^10.2.0",
"nixt": "^0.5.1",
"nock": "^13.0.0",
"prettier": "^3.0.3",
"rewire": "^5.0.0",
"rimraf": "^5.0.1",
"semantic-release": "^22.0.12",
"sinon": "^18.0.0",
"sinon-chai": "^3.5.0",
"source-map-support": "^0.5.16",
"strip-ansi": "^6.0.0",
"ts-node": "^10.0.0",
"tslint": "^6.1.1",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "^4.9.4",
"zlib": "^1.0.5"
},
"bin": {
"contentful-migration": "./bin/contentful-migration"
},
"engines": {
"node": ">=8.0.0"
},
"release": {
"branches": [
"main",
{
"name": "beta",
"channel": "beta",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint"
],
"*.{ts,tsx}": [
"prettier --write",
"tslint"
],
"*.md": [
"prettier --write"
]
}
}