-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
130 lines (130 loc) · 4.29 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
{
"name": "@freecodecamp/ui",
"version": "3.0.0",
"author": "freeCodeCamp <[email protected]>",
"license": "BSD-3-Clause",
"description": "The freeCodeCamp.org open-source UI components",
"main": "dist/bundle.js",
"module": "dist/bundle.es.js",
"style": "dist/base.css",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"private": false,
"engines": {
"node": ">=20",
"pnpm": "9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/freeCodeCamp/ui.git"
},
"bugs": {
"url": "https://github.com/freeCodeCamp/ui/issues"
},
"homepage": "https://github.com/freeCodeCamp/ui#readme",
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepublishOnly": "pnpm run build",
"build-storybook": "storybook build",
"build": "pnpm clean && pnpm build:css && pnpm build:js",
"build:js": "cross-env NODE_ENV=production rollup -c",
"build:css": "npx -y tailwindcss -i ./src/base.css -o ./dist/base.css --minify",
"dev:js": "cross-env NODE_ENV=development rollup -c -w ",
"dev:css": "pnpm tailwindcss -i ./src/base.css -o ./dist/base.css --watch",
"develop": "npm-run-all --parallel dev:css dev:js storybook",
"format:eslint": "eslint . --fix",
"format:prettier": "prettier --write .",
"format": "pnpm run format:eslint && pnpm run format:prettier",
"lint": "prettier --check . && eslint . --max-warnings 0",
"start": "pnpm run develop",
"storybook": "storybook dev -p 6006 --no-open",
"storybook:theming": "pnpm run storybook --no-manager-cache",
"clean": "rm -rf dist/*",
"gen-component": "ts-node ./utils/gen-component-script",
"test": "jest",
"prepare": "husky",
"typecheck": "tsc"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "6.6.0",
"@fortawesome/free-solid-svg-icons": "6.6.0",
"@fortawesome/react-fontawesome": "0.2.2",
"@headlessui/react": "1.7.19",
"@radix-ui/react-tabs": "1.1.1",
"babel-plugin-prismjs": "2.1.0",
"prismjs": "1.29.0"
},
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"@babel/preset-react": "7.25.9",
"@babel/preset-typescript": "7.26.0",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "19.0.2",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "8.5.0",
"@storybook/addon-a11y": "8.3.6",
"@storybook/addon-actions": "8.3.6",
"@storybook/addon-docs": "8.3.6",
"@storybook/addon-essentials": "8.3.6",
"@storybook/addon-links": "8.3.6",
"@storybook/addon-styling-webpack": "1.0.0",
"@storybook/addon-webpack5-compiler-babel": "3.0.3",
"@storybook/blocks": "8.3.6",
"@storybook/react": "8.3.6",
"@storybook/react-webpack5": "8.3.6",
"@testing-library/jest-dom": "6.6.2",
"@testing-library/react": "12.1.5",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.14",
"@types/prismjs": "1.26.5",
"@types/react": "16.14.62",
"@types/react-dom": "16.9.24",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"autoprefixer": "10.4.20",
"babel-loader": "8.4.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"cross-env": "7.0.3",
"css-loader": "6.11.0",
"eslint": "8.57.1",
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-jest-dom": "5.4.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-testing-library": "6.4.0",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "15.2.10",
"npm-run-all2": "5.0.2",
"postcss": "8.4.47",
"postcss-import": "14.1.0",
"postcss-loader": "8.1.1",
"prettier": "3.3.3",
"rollup": "3.29.5",
"rollup-plugin-bundle-size": "1.0.3",
"rollup-plugin-postcss": "4.0.2",
"storybook": "8.3.6",
"style-loader": "3.3.4",
"tailwindcss": "3.4.14",
"ts-node": "10.9.2",
"tslib": "2.8.0",
"tsx": "4.19.2",
"typescript": "5.6.3"
},
"keywords": [
"storybook",
"freecodecamp",
"ui"
]
}