-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
120 lines (120 loc) · 3.97 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
{
"name": "@freecodecamp/ui",
"version": "0.1.0",
"author": "freeCodeCamp <team@freecodecamp.org>",
"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": "8"
},
"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",
"build-storybook": "storybook build",
"build": "pnpm run build:css && pnpm run 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": "tsx ./utils/gen-component-script",
"test": "jest",
"prepare": "husky"
},
"dependencies": {
"@fortawesome/free-solid-svg-icons": "6.5.2",
"@fortawesome/react-fontawesome": "0.2.0",
"@headlessui/react": "1.7.19",
"@radix-ui/react-tabs": "1.0.4",
"react": "16.14.0",
"react-dom": "16.14.0"
},
"devDependencies": {
"@babel/core": "7.24.4",
"@babel/preset-env": "7.24.4",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "7.24.1",
"@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.0.6",
"@storybook/addon-actions": "^8.0.6",
"@storybook/addon-docs": "^8.0.6",
"@storybook/addon-essentials": "^8.0.6",
"@storybook/addon-links": "^8.0.6",
"@storybook/addon-styling-webpack": "1.0.0",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/blocks": "^8.0.6",
"@storybook/react": "^8.0.6",
"@storybook/react-webpack5": "^8.0.6",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "29.5.12",
"@types/react": "16.14.60",
"@types/react-dom": "16.9.24",
"@types/testing-library__jest-dom": "5",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"autoprefixer": "10.4.19",
"babel-loader": "8.3.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"cross-env": "7.0.3",
"css-loader": "6.11.0",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^28.2.0",
"eslint-plugin-jest-dom": "^5.2.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.2.0",
"husky": "^9.0.11",
"jest": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"npm-run-all2": "5.0.2",
"postcss": "8.4.38",
"postcss-import": "14.1.0",
"postcss-loader": "8.1.1",
"prettier": "3.2.5",
"rollup": "2.79.1",
"rollup-plugin-postcss": "4.0.2",
"storybook": "^8.0.6",
"style-loader": "3.3.4",
"tailwindcss": "3.4.3",
"tslib": "2.6.2",
"tsx": "^4.7.2",
"typescript": "^5.4.3"
},
"keywords": [
"storybook",
"freecodecamp",
"ui"
]
}