-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
67 lines (67 loc) · 1.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
{
"name": "@contentstack/delivery-sdk",
"version": "4.4.3",
"type": "module",
"license": "MIT",
"main": "./dist/legacy/index.cjs",
"module": "./dist/legacy/index.js",
"types": "./dist/legacy/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/modern/index.d.ts",
"default": "./dist/modern/index.js"
},
"require": {
"types": "./dist/modern/index.d.cts",
"default": "./dist/modern/index.cjs"
}
},
"./package.json": "./package.json"
},
"scripts": {
"prepare": "npm run build",
"test": "jest ./test/unit",
"test:unit": "jest ./test/unit",
"test:api": "jest ./test/api",
"lint": "eslint . -c .eslintrc.json",
"clean": "node tools/cleanup",
"package": "npm run build && npm pack",
"build": "NODE_OPTIONS='--max-old-space-size=16384' tsup",
"build:cjs": "node tools/cleanup cjs && tsc -p config/tsconfig.cjs.json && node tools/rename-cjs.cjs",
"build:esm": "node tools/cleanup esm && tsc -p config/tsconfig.esm.json",
"build:types": "node tools/cleanup types && tsc -p config/tsconfig.types.json"
},
"dependencies": {
"@contentstack/core": "^1.1.3",
"@contentstack/utils": "^1.3.14",
"@types/humps": "^2.0.6",
"axios": "^1.7.8",
"dotenv": "^16.4.5",
"humps": "^2.0.1",
"path-browserify": "^1.0.1"
},
"files": [
"dist",
"package.json",
"README.md"
],
"devDependencies": {
"@nrwl/jest": "^17.3.2",
"@types/jest": "^29.5.14",
"@types/node-localstorage": "^1.3.3",
"axios-mock-adapter": "^1.22.0",
"babel-jest": "^29.7.0",
"esbuild-plugin-file-path-extensions": "^2.1.3",
"ignore-loader": "^0.1.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-html-reporters": "^3.1.7",
"jest-junit": "^16.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsup": "^8.3.5",
"webpack-cli": "^5.1.4"
}
}