-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
76 lines (76 loc) 路 2.28 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
{
"name": "@openfun/cunningham-react",
"private": false,
"version": "0.0.0",
"type": "module",
"license": "MIT",
"module": "./dist/index.js",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./style": "./dist/style.css"
},
"files": [
"dist/"
],
"scripts": {
"lint": "eslint . 'src/**/*.{ts,tsx}'",
"dev": "yarn storybook & nodemon --watch src --ext '*' --ignore src/cunningham-tokens.ts --ignore src/cunningham-tokens.js --ignore src/cunningham-tokens.css --exec npm run build",
"build": "tsc && yarn build-theme && vite build",
"build-theme": "cunningham -o src -g css,ts,js",
"preview": "vite preview",
"test": "FORCE_COLOR=1 vitest run",
"test-watch": "vitest",
"coverage": "vitest run --coverage",
"storybook": "start-storybook -p 6006",
"deploy-storybook": "storybook-to-ghpages"
},
"dependencies": {
"@fontsource/roboto": "4.5.8",
"@openfun/cunningham-tokens": "*",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/core": "7.20.12",
"@openfun/cunningham-tokens": "*",
"@openfun/typescript-configs": "*",
"@storybook/addon-actions": "6.5.15",
"@storybook/addon-essentials": "6.5.15",
"@storybook/addon-interactions": "6.5.15",
"@storybook/addon-links": "6.5.15",
"@storybook/builder-vite": "0.3.0",
"@storybook/preset-scss": "1.0.3",
"@storybook/react": "6.5.15",
"@storybook/storybook-deployer": "^2.8.16",
"@storybook/testing-library": "0.0.13",
"@testing-library/dom": "8.20.0",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "14.4.3",
"@types/react": "18.0.27",
"@types/react-dom": "18.0.10",
"@vitejs/plugin-react": "3.0.1",
"@vitest/coverage-c8": "0.27.2",
"@vitest/ui": "0.27.2",
"babel-loader": "9.1.2",
"css-loader": "6.7.3",
"glob": "8.1.0",
"jsdom": "21.0.0",
"sass": "1.57.1",
"sass-loader": "13.2.0",
"style-loader": "3.3.1",
"typescript": "4.9.4",
"vite": "4.0.4",
"vite-plugin-dts": "1.7.1",
"vite-tsconfig-paths": "4.0.5",
"vitest": "0.27.2"
}
}