-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
126 lines (126 loc) · 4.4 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
{
"name": "@lmc-eu/spirit-web-react",
"version": "1.10.0",
"description": "React implementation of Spirit Design System components",
"license": "MIT",
"sideEffects": false,
"publishConfig": {
"access": "public",
"directory": "dist"
},
"repository": {
"type": "git",
"url": "https://github.com/lmc-eu/spirit-design-system.git",
"directory": "packages/web-react"
},
"main": "./index.cjs",
"module": "./index.js",
"types": "./index.d.ts",
"dependencies": {
"@react-hook/resize-observer": "^1.2.6",
"classnames": "^2.3.1",
"react-transition-group": "^4.4.5"
},
"devDependencies": {
"@babel/preset-env": "7.23.7",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@floating-ui/react": "0.26.5",
"@lmc-eu/eslint-config-base": "3.0.2",
"@lmc-eu/eslint-config-jest": "3.0.2",
"@lmc-eu/eslint-config-react": "2.0.2",
"@lmc-eu/spirit-common": "^0.1.0",
"@lmc-eu/spirit-demo": "^0.1.0",
"@lmc-eu/spirit-design-tokens": "^1.1.3",
"@lmc-eu/spirit-web": "^1.8.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@swc/core": "1.3.102",
"@swc/jest": "0.2.29",
"@testing-library/dom": "9.3.3",
"@testing-library/jest-dom": "6.2.0",
"@testing-library/react": "14.1.2",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.11",
"@types/node": "20.10.7",
"@types/react": "18.2.47",
"@types/react-dom": "18.2.18",
"@types/react-transition-group": "4.4.10",
"@typescript-eslint/eslint-plugin": "6.18.0",
"@typescript-eslint/parser": "6.18.0",
"@vitejs/plugin-react": "4.2.1",
"eslint": "8.56.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-standard": "5.0.0",
"html-react-parser": "5.0.11",
"jest": "29.7.0",
"jest-cli": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"recast": "0.23.4",
"rollup": "3.29.4",
"rollup-plugin-terser": "7.0.2",
"sass": "1.69.7",
"shx": "0.3.4",
"terser-webpack-plugin": "5.3.10",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"typescript": "5.3.3",
"vite": "4.5.1",
"vite-plugin-handlebars": "1.6.0",
"webpack-merge": "5.10.0"
},
"peerDependencies": {
"@lmc-eu/spirit-design-tokens": "*",
"@lmc-eu/spirit-icons": "*",
"@lmc-eu/spirit-web": "*",
"html-react-parser": "^5.0.6",
"react": "^17.0.2 || ^18.0.0",
"react-dom": "^17.0.2 || ^18.0.0"
},
"scripts": {
"start": "vite --host --config ./config/vite/app.ts",
"examples:build": "vite build --config ./config/vite/app.ts",
"examples:preview": "vite preview --config ./config/vite/app.ts",
"prebuild": "shx rm -rf dist && shx mkdir -p dist && shx cp package.json README.md dist/ ",
"build": "npm-run-all --serial build:umd build:es2020 build:esNext",
"build:cjs": "yarn rollup --bundleConfigAsCjs",
"build:umd": "npm-run-all --serial webpack:dev webpack:prod",
"build:es2020": "tsc --module es2020 --outDir dist --project ./config/tsconfig.prod.json",
"build:esNext": "echo tsc --module esNext --outDir dist/_esNext --project ./config/tsconfig.prod.json",
"postbuild": "npm-run-all prepdist resolve build:cjs",
"prepdist": "node ./scripts/prepareDist.js",
"types": "tsc",
"webpack:dev": "webpack --mode development --config ./config/webpack.js --progress",
"webpack:prod": "webpack --mode production --config ./config/webpack.js --progress",
"webpack:browser": "webpack --mode production --config ./config/webpack.browser.js --progress",
"rollup": "rollup -c ./config/rollup.config.js",
"resolve": "ts-node-script ./scripts/resolveModuleIds.ts",
"lint": "eslint ./",
"lint:fix": "yarn lint --fix",
"test": "npm-run-all --serial lint types test:unit:coverage",
"test:unit": "jest --config ./config/jest/config.js",
"test:unit:watch": "yarn test:unit --watchAll",
"test:unit:coverage": "yarn test:unit --coverage"
},
"resolutions": {
"@types/react-dom": "18.2.18"
},
"nx": {
"targets": {
"build": {
"outputs": [
"./dist"
]
}
}
}
}