-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
154 lines (154 loc) · 4.68 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
{
"name": "contentful-ui-extensions-sdk",
"description": "SDK to develop custom UI Extension for the Contentful Web App",
"version": "4.0.0-alpha.14",
"author": "Contentful GmbH",
"license": "MIT",
"repository": {
"url": "https://github.com/contentful/ui-extensions-sdk.git",
"type": "git"
},
"homepage": "https://www.contentful.com/developers/docs/extensibility/app-framework/sdk/",
"main": "dist/cf-extension-api.js",
"types": "dist/index.d.ts",
"files": [
"dist/cf-extension-api.js",
"dist/cf-extension-api.js.map",
"dist/cf-extension.css",
"dist/**/*.d.ts"
],
"scripts": {
"test": "ts-mocha -p tsconfig.test.json 'test/unit/*.[jt]s' --reporter mocha-multi-reporters --reporter-options configFile=mocha.unit-reporters.json",
"lint": "eslint '{lib,test}/**/*.{t,j}s'",
"lint:fix": "npm run lint -- --fix",
"build": "rollup -c --compact",
"build:debug": "npm run build -- --sourcemap",
"prepublishOnly": "npm run build",
"size": "echo \"Gzipped, estimate: $(gzip -9 -c dist/cf-extension-api.js | wc -c) bytes\"",
"integration": "ts-node -P tsconfig.test.json test/integration",
"integration:local": "ts-node -P tsconfig.test.json test/integration/local",
"cypress:open": "cypress open",
"cypress:run": "cypress run --browser chrome",
"clean-reports": "rm -rf cypress/reports",
"merge-report": "mochawesome-merge ./test/cypress/reports/separate-reports/*.json > ./test/cypress/reports/full_report.json",
"generate-report": "npx mochawesome-report-generator --reportDir test/cypress/reports test/cypress/reports/full_report.json",
"semantic-release": "semantic-release",
"publish-all": "node ./scripts/publish.js",
"verify": "node ./scripts/verify.js"
},
"devDependencies": {
"@semantic-release/changelog": "5.0.1",
"@semantic-release/exec": "5.0.0",
"@semantic-release/git": "9.0.0",
"@testing-library/cypress": "7.0.6",
"@testing-library/dom": "7.31.0",
"@types/async-retry": "1.4.2",
"@types/chai-as-promised": "7.1.4",
"@types/cross-spawn": "6.0.2",
"@types/fs-extra": "9.0.11",
"@types/jsdom": "16.2.10",
"@types/nanoid": "2.1.0",
"@types/sinon": "^10.0.0",
"@types/sinon-chai": "^3.2.5",
"@typescript-eslint/eslint-plugin": "4.24.0",
"@typescript-eslint/parser": "4.24.0",
"async-retry": "1.3.1",
"babel-eslint": "10.1.0",
"chai": "4.3.4",
"chai-as-promised": "7.1.1",
"cross-spawn": "7.0.3",
"cypress": "7.3.0",
"cypress-multi-reporters": "1.5.0",
"dotenv": "9.0.2",
"eslint": "7.26.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-standard": "16.0.2",
"eslint-plugin-cypress": "2.11.3",
"eslint-plugin-import": "2.23.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-react": "7.23.2",
"eslint-plugin-standard": "5.0.0",
"fs-extra": "10.0.0",
"husky": "4.3.8",
"jsdom": "16.5.3",
"lint-staged": "11.0.0",
"mocha": "8.4.0",
"mocha-junit-reporter": "2.0.0",
"mocha-multi-reporters": "1.5.1",
"mochawesome": "6.2.2",
"mochawesome-merge": "4.2.0",
"mochawesome-report-generator": "5.2.0",
"nanoid": "3.1.23",
"prettier": "2.2.1",
"rollup": "2.48.0",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.30.0",
"semantic-release": "17.4.2",
"sinon": "10.0.1",
"sinon-chai": "3.6.0",
"ts-mocha": "8.0.0",
"ts-node": "9.1.1",
"typescript": "4.1.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.md": [
"prettier --write",
"git add"
]
},
"release": {
"branches": [
"master",
{
"name": "canary",
"channel": "canary",
"prerelease": "alpha"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/exec",
{
"verifyConditionsCmd": "node ./scripts/verify.js",
"publishCmd": "npm run publish-all"
}
],
[
"@semantic-release/git",
{
"message": "chore: ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
"assets": [
"CHANGELOG.md",
"package.json",
"package-lock.json"
]
}
],
"@semantic-release/github"
]
},
"dependencies": {
"contentful-management": "^7.23.0"
}
}