forked from kontent-ai/delivery-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 3.96 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
{
"name": "@kontent-ai/delivery-sdk",
"version": "12.2.0",
"repository": {
"type": "git",
"url": "https://github.com/kontent-ai/delivery-sdk-js"
},
"private": false,
"author": "richard sustek",
"license": "MIT",
"description": "Official Kontent.AI Delivery API SDK",
"keywords": [
"Kontent",
"Kontent.ai",
"Kontent SDK",
"Kontent API",
"Kontent Delivery",
"Kontent Javascript",
"Kontent Node.js",
"Kontent Typescript"
],
"engines": {
"node": ">= 8"
},
"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": "npm run ts-lint:check && standard-version",
"release:major": "npm run ts-lint:check && standard-version --release-as major",
"release:major:beta": "npm run ts-lint:check && standard-version --prerelease --release-as major",
"release:beta": "standard-version --prerelease",
"ts-lint:fix": "npm run ts-lint:check -- --fix",
"ts-lint:check": "tslint --project ./tsconfig.json",
"test:browser": "karma start karma.conf.js",
"test:gh-actions": "karma start karma-gh-actions.conf.js",
"test:node": "npm run build:commonjs && npx mocha -- \"test/node/**/*.js\" --timeout 15000",
"test:all": "npm run test:node && npm run test:gh-actions",
"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 ts-lint:check && npm run check-version && npm run build:all && npm run test:all",
"set-sdk-version": "node ./misc/set-sdk-version.js",
"check-version": "npx ts-node ./misc/verify-sdk-version.ts",
"webpack:dev": "webpack -- --mode development --config webpack.config.js --progress",
"webpack:prod": "webpack -- --mode production --config webpack.config.js --progress",
"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 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"
},
"dependencies": {
"@kontent-ai/core-sdk": "10.0.0",
"uuid": "9.0.0",
"url-parse": "1.5.10"
},
"devDependencies": {
"@types/url-parse": "1.4.8",
"@types/jasmine": "4.3.0",
"@types/node": "18.7.18",
"@types/uuid": "8.3.4",
"colors": "1.4.0",
"jasmine-core": "4.4.0",
"jasmine-spec-reporter": "7.0.0",
"karma": "6.4.1",
"karma-chrome-launcher": "3.1.1",
"karma-cli": "2.0.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.0.0",
"karma-sourcemap-loader": "0.3.8",
"karma-typescript": "5.5.3",
"karma-typescript-es6-transform": "5.5.3",
"lcov-parse": "1.0.0",
"mocha": "10.0.0",
"standard-version": "9.5.0",
"ts-loader": "9.4.1",
"tslint": "6.1.3",
"typescript": "4.8.3",
"webpack": "5.74.0",
"webpack-bundle-analyzer": "4.6.1",
"webpack-cli": "4.10.0"
}
}