/
package.json
107 lines (107 loc) · 2.88 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
{
"version": "2.0.0",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"name": "@layer3/gatekeeper-sdk",
"author": "Nico Limo",
"module": "dist/gatekeeper-sdk.esm.js",
"files": [
"dist",
"src"
],
"engines": {
"node": "^18.0.0"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "jest",
"commit": "git-cz",
"prettier:fix": "prettier --write '{,!(node_modules)/**/}*.{ts,tsx}' --config ./.prettierrc",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"semantic-release": "semantic-release --branches main"
},
"husky": {
"hooks": {
"pre-commit": "yarn prettier:fix"
}
},
"resolutions": {
"jest-environment-jsdom": "27.4.6"
},
"size-limit": [
{
"path": "dist/gatekeeper-sdk.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/gatekeeper-sdk.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@rollup/plugin-image": "^2.1.1",
"@size-limit/preset-small-lib": "^8.1.0",
"@storybook/addon-essentials": "^7.0.12",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-interactions": "^7.0.12",
"@storybook/addon-links": "^7.0.12",
"@storybook/addons": "^7.0.12",
"@storybook/preset-create-react-app": "^7.0.12",
"@storybook/react": "^7.0.12",
"@storybook/react-webpack5": "^7.0.12",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.1.7",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.0.6",
"autoprefixer": "^10.4.12",
"babel-jest": "^29.5.0",
"babel-loader": "^8.2.5",
"css-loader": "^6.7.1",
"cssnano": "^5.1.13",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"postcss": "^8.4.16",
"react-is": "^18.2.0",
"react-testing-library": "^8.0.1",
"rollup-plugin-image-files": "^1.4.2",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-static-files": "^0.2.0",
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^19.0.5",
"size-limit": "^8.1.0",
"storybook": "^7.0.12",
"style-loader": "^3.3.1",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"tsdx": "^0.14.1",
"tslib": "^2.4.0",
"typescript": "^4.8.3"
},
"repository": {
"type": "git",
"url": "https://github.com/Layer3-Software/Gatekeeper-SDK.git"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
}
}