-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
93 lines (93 loc) · 3.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
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
{
"name": "@kontent-ai/core-sdk",
"version": "10.8.0",
"repository": {
"type": "git",
"url": "https://github.com/kontent-ai/kontent-core-js"
},
"private": false,
"author": "richard sustek",
"license": "MIT",
"description": "Core package with shared / common functionality for Kontent.ai SDKs",
"keywords": [
"Kontent.ai",
"Kontent AI",
"Kontent SDK Core"
],
"engines": {
"node": ">= 20"
},
"main": "./dist/cjs/index.js",
"module": "./dist/es6/index.js",
"es2015": "./dist/es6/index.js",
"types": "./dist/cjs/index.d.ts",
"standard-version": {
"scripts": {
"postchangelog": "npm run set-sdk-version"
}
},
"scripts": {
"release": "standard-version",
"release:major": "npm run lint:check && standard-version --release-as major",
"release:major:beta": "npm run lint:check && standard-version --prerelease --release-as major",
"release:beta": "standard-version --prerelease",
"lint:check": "npx eslint lib",
"test:node": "npm run build:commonjs && mocha -- \"test/node/**/*.js\" --timeout 15000",
"test:browser": "karma start karma.conf.js",
"test:dev": "karma start karma-dev.conf.js",
"test:ci": "karma start karma-ci.conf.js",
"test:all": "npm run test:node && npm run test:ci",
"new-patch": "npm version patch && npm run set-sdk-version && npm run check-version",
"new-minor": "npm version minor && npm run set-sdk-version && npm run check-version",
"new-major": "npm version major && npm run set-sdk-version && npm run check-version",
"prepublishOnly": "npm run lint:check && npm run check-version && npm run build:all && npm run test:all && npm run push:tags",
"webpack:dev": "webpack --mode development --config webpack.config.js --progress",
"webpack:prod": "webpack --mode production --config webpack.config.js --progress",
"set-sdk-version": "node ./misc/set-sdk-version.js",
"check-version": "ts-node ./misc/verify-sdk-version.ts",
"publish:beta": "npm publish --tag=next",
"build:umd": "npm run webpack:dev && npm run webpack:prod",
"build:es6": "tsc -m es6 --outDir dist/es6 --p tsconfig.prod.json",
"build:esnext": "tsc -m esnext --outDir dist/esnext --p tsconfig.prod.json",
"build:commonjs": "tsc -m commonjs --outDir dist/cjs --p tsconfig.prod.json",
"build:all": "npm run clean && npm run build:umd && npm run build:es6 && npm run build:esnext && npm run build:commonjs",
"bundle-stats:min": "npm run build:umd && webpack-bundle-analyzer dist/_bundles/stats.min.json",
"bundle-stats": "npm run build:umd && webpack-bundle-analyzer dist/_bundles/stats.json",
"push:tags": "git push --tags",
"clean": "tsx clean.ts"
},
"dependencies": {
"axios": "1.7.7"
},
"devDependencies": {
"prettier": "3.3.3",
"@types/jasmine": "5.1.4",
"@types/node": "22.7.2",
"colors": "1.4.0",
"core-js": "3.38.1",
"jasmine-core": "5.3.0",
"jasmine-spec-reporter": "7.0.0",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-cli": "2.0.0",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"karma-sourcemap-loader": "0.4.0",
"karma-typescript": "5.5.4",
"karma-typescript-es6-transform": "5.5.4",
"karma-webpack": "5.0.1",
"mocha": "10.7.3",
"standard-version": "9.5.0",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"@typescript-eslint/eslint-plugin": "8.7.0",
"@typescript-eslint/parser": "8.7.0",
"eslint": "9.11.1",
"typescript": "5.2.2",
"webpack": "5.95.0",
"webpack-bundle-analyzer": "4.10.2",
"webpack-cli": "5.1.4",
"tsx": "4.19.1",
"typescript-eslint": "8.7.0"
}
}