-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.94 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.94 KB
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
{
"name": "@contentstack/core",
"version": "1.3.10",
"type": "commonjs",
"main": "./dist/cjs/src/index.js",
"types": "./dist/cjs/src/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/types/src/index.d.ts",
"default": "./dist/esm/src/index.js"
},
"require": {
"types": "./dist/types/src/index.d.ts",
"default": "./dist/cjs/src/index.js"
}
},
"./package.json": "./package.json"
},
"license": "MIT",
"scripts": {
"prepare": "npm run build && npm run husky-check",
"bootstrap": "npm i --package-lock-only --omit=dev",
"lint": "eslint . -c .eslintrc.js",
"test": "jest ./test",
"clean": "node tools/cleanup",
"package": "npm run build && npm pack",
"build": "npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
"build:cjs": "node tools/cleanup cjs && tsc -p config/tsconfig.cjs.json",
"build:esm": "node tools/cleanup esm && tsc -p config/tsconfig.esm.json && node tools/postbuild",
"build:umd": "node tools/cleanup umd && webpack --config config/webpack.config.js",
"build:types": "node tools/cleanup types && tsc -p config/tsconfig.types.json",
"husky-check": "npx husky install && chmod +x .husky/pre-commit"
},
"dependencies": {
"axios": "^1.13.5",
"axios-mock-adapter": "^2.1.0",
"lodash": "^4.17.23",
"qs": "6.14.1",
"tslib": "^2.8.1"
},
"files": [
"dist/*",
"package.json",
"CHANGELOG.md",
"README.md",
"LICENSE.txt"
],
"repository": {
"type": "git",
"url": "git+https://github.com/contentstack/contentstack-js-core.git"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@cspell/eslint-plugin": "^6.31.3",
"@types/jest": "28.1.8",
"@types/lodash": "^4.17.20",
"@types/node": "16.18.126",
"@types/qs": "^6.9.18",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"babel-jest": "28.1.3",
"commitizen": "^4.3.1",
"eslint": "~8.57.1",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "8.10.2",
"eslint-import-resolver-webpack": "^0.13.10",
"eslint-plugin-cypress": "^2.15.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^4.4.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^4.2.5",
"eslint-plugin-promise": "^6.6.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-spellcheck": "^0.0.20",
"husky": "^9.1.7",
"jest": "28.1.3",
"jest-environment-jsdom": "28.1.3",
"jest-html-reporters": "^3.1.7",
"jest-junit": "^15.0.0",
"prettier": "^2.8.8",
"ts-jest": "28.0.8",
"ts-loader": "^9.5.2",
"ts-node": "10.9.2",
"typescript": "~4.9.5",
"webpack": "^5.101.0",
"webpack-cli": "^4.10.0"
}
}