-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
142 lines (142 loc) · 4.18 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
{
"name": "contentful-ui-extensions-sdk",
"description": "A JavaScript library to develop custom apps for Contentful",
"version": "4.29.3",
"author": "Contentful GmbH",
"license": "MIT",
"sideEffects": true,
"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",
"unpkg": "dist/cf-extension-api.bundled.js",
"jsdelivr": "dist/cf-extension-api.bundled.js",
"types": "dist/index.d.ts",
"files": [
"dist/cf-extension-api.js",
"dist/cf-extension-api.js.map",
"dist/cf-extension-api.bundled.js",
"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": "npm run check-types && 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\"",
"semantic-release": "semantic-release",
"publish-all": "node ./scripts/publish.js",
"verify": "node ./scripts/verify.js",
"check-types": "tsc --noEmit -m commonjs",
"prepare": "husky",
"lint-staged": "lint-staged"
},
"dependencies": {
"contentful-management": ">=7.30.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@testing-library/dom": "10.4.0",
"@types/chai-as-promised": "7.1.8",
"@types/cross-spawn": "6.0.6",
"@types/fs-extra": "11.0.4",
"@types/jsdom": "21.1.7",
"@types/mocha": "10.0.10",
"@types/nanoid": "3.0.0",
"@types/sinon": "^17.0.0",
"@types/sinon-chai": "^3.2.5",
"@typescript-eslint/eslint-plugin": "7.17.0",
"@typescript-eslint/parser": "7.18.0",
"babel-eslint": "10.1.0",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"cross-spawn": "7.0.6",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-promise": "6.6.0",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-standard": "5.0.0",
"fs-extra": "11.2.0",
"husky": "9.1.7",
"jsdom": "25.0.1",
"lint-staged": "15.2.10",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.1",
"mocha-multi-reporters": "1.5.1",
"mochawesome": "7.1.3",
"mochawesome-merge": "4.3.0",
"mochawesome-report-generator": "6.2.0",
"prettier": "3.4.1",
"rollup": "2.79.2",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.36.0",
"semantic-release": "24.2.0",
"sinon": "19.0.2",
"sinon-chai": "3.7.0",
"ts-mocha": "10.0.0",
"tslib": "2.8.1",
"typescript": "5.7.2"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
],
"*.md": [
"prettier --write"
]
},
"release": {
"branches": [
"main",
{
"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"
]
}
}