-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
147 lines (147 loc) · 4.81 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "@reapit/elements",
"version": "5.0.0-beta.17",
"description": "A collection of React components and utilities for building apps for Reapit Marketplace",
"homepage": "https://github.com/reapit/elements#readme",
"bugs": {
"url": "https://github.com/reapit/elements/issues"
},
"type": "module",
"bin": {
"elements-deploy": "./scripts/cdk/bin/rpt-cdk.cjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reapit/elements.git"
},
"imports": {
"#src/*": {
"types": [
"./src/*.js",
"./src/*/index.js"
],
"import": "./src/*"
}
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/js/index.js",
"require": "./dist/js/index.cjs"
},
"./styles.css": "./dist/js/style.css",
"./index.css": "./dist/js/style.css"
},
"license": "MIT",
"author": "Will McVay <wmcvay@reapit.com>",
"types": "./dist/types/index.d.ts",
"main": "index.ts",
"module": "index.ts",
"publishConfig": {
"main": "dist/js/index.cjs",
"module": "dist/js/index.js"
},
"files": [
"dist/",
"assets/",
"coverage/badges"
],
"scripts": {
"build": "yarn build:storybook & yarn build:types & yarn build:dist",
"build:storybook": "rimraf public/dist && NODE_ENV=production storybook build -o public/dist",
"build:dist": "vite build",
"build:sd": "node ./src/tokens/build.mjs && eslint --cache --ext=ts tokens --fix",
"build:types": "tsc --project tsconfig.build.json",
"commit": "yarn test run --coverage --silent && yarn coverage:badges && yarn lint --fix && yarn check",
"coverage:badges": "yarn make-badge branches && yarn make-badge functions && yarn make-badge lines && yarn make-badge statements",
"lint": "eslint --cache --ext=ts,tsx,js src",
"check": "tsc --noEmit",
"make-badge": "coverage-badges --type ${0} --source coverage/report/coverage-summary.json --output coverage/badges/badge-${0}.svg --jsonPath total.${0}.pct",
"publish": "yarn npm publish --access public",
"deploy": "elements-deploy deploy",
"start": "storybook dev -p 6006",
"test": "vitest",
"visual-test": "yarn build:storybook && yarn playwright test"
},
"dependencies": {
"@linaria/core": "^6.2.0",
"@linaria/react": "^6.2.1"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@mdx-js/react": "^3.0.1",
"@playwright/test": "^1.43.0",
"@storybook/addon-a11y": "^8.0.7",
"@storybook/addon-actions": "^8.0.7",
"@storybook/addon-designs": "^8.0.3",
"@storybook/addon-docs": "^8.0.7",
"@storybook/addon-essentials": "^8.0.7",
"@storybook/addon-links": "^8.0.7",
"@storybook/addon-storysource": "^8.0.7",
"@storybook/blocks": "^8.0.7",
"@storybook/cli": "^8.0.7",
"@storybook/csf": "^0.1.3",
"@storybook/icons": "^1.2.9",
"@storybook/manager-api": "^8.0.7",
"@storybook/preview-api": "^8.0.7",
"@storybook/react": "^8.0.7",
"@storybook/react-dom-shim": "^8.0.7",
"@storybook/react-vite": "^8.0.7",
"@storybook/theming": "^8.0.7",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@types/babel__core": "^7",
"@types/node": "^18.19.31",
"@types/postcss-flexbugs-fixes": "^5.0.3",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"@types/react-syntax-highlighter": "^15.5.11",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "2.1.5",
"@wyw-in-js/babel-preset": "^0.5.0",
"@wyw-in-js/vite": "^0.5.5",
"aws-cdk": "^2.137.0",
"aws-cdk-lib": "^2.137.0",
"aws-sdk": "^2.1597.0",
"colord": "^2.9.3",
"concurrently": "^8.2.2",
"constructs": "^10.3.0",
"coverage-badges-cli": "^2.1.0",
"dashify": "2.0.0",
"eslint": "8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.8.0",
"happy-dom": "^15.11.6",
"move-file-cli": "^3.0.0",
"prettier": "^3.2.5",
"react": "^17.0.2",
"react-docgen-typescript-loader": "^3.7.2",
"react-dom": "^17.0.2",
"react-syntax-highlighter": "^15.5.0",
"rimraf": "^5.0.5",
"rollup": "^4.14.1",
"rollup-plugin-css-only": "^4.5.2",
"snyk": "^1.1288.0",
"storybook": "^8.0.7",
"style-dictionary": "^3.9.2",
"ts-node": "^10.9.2",
"typescript": "5.6.3",
"vite": "^5.4.10",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^2.1.5"
},
"peerDependencies": {
"react": ">=17.0.2",
"react-dom": ">=17.0.2"
},
"snyk": true,
"packageManager": "yarn@4.3.1",
"stableVersion": "5.0.0-beta.5"
}