-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
166 lines (166 loc) · 6.46 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "trilogy-ds",
"version": "0.0.1-beta.78",
"private": true,
"license": "UNLICENSED",
"author": "Bouygues Telecom",
"scripts": {
"mobile": "npm --workspace=examples/mobile run ios",
"build": "npm run build --workspace=@trilogy-ds/assets && npm run build --workspace=@trilogy-ds/styles && npm run build --workspace=@trilogy-ds/react && npm run build --workspace=@trilogy-ds/vanilla && npx tsx scripts/defaultProps.ts",
"build:autolayout": "esbuild --platform=node --bundle packages/styles/scripts/autolayout.ts --outfile=scripts/dist/autolayout.cjs --sourcemap",
"build:storybook": "rimraf docs/storybook/storybook-static && cd docs/storybook && build-storybook",
"build:control": "node scripts/control-lib-architecture.js",
"build:css": "npm --workspace=@trilogy-ds/styles run build",
"build:cssMangled": "npm --workspace=@trilogy-ds/styles run build:cssMangled",
"build:framework": "npm run optimise:svg && npm run build:hash && npm run build:css",
"build:hash": "node scripts/hash.cjs",
"create:autolayout": "npm --workspace=@trilogy-ds/styles run build:autolayout && npm run create:autolayout",
"lint": "eslint packages/react --ext .ts,.tsx --fix && npm run check-types",
"optimise:svg": "npm --workspace=@trilogy-ds/styles run optimise:svg",
"start": "npm --workspace=@trilogy-ds/react-template run start",
"setup:native": "cd examples/mobile && npm i && npm run setup:native",
"start:native": "cd examples/mobile && npm run start",
"setup:native:expo": "cd examples/mobile-expo && npm i",
"start:native:expo": "cd examples/mobile-expo && npm run start",
"preview": "vite build --config config/vite.config.js && http-server ./dist",
"storybook": "cd docs/storybook && start-storybook -p 6006",
"style:size-limit": "cd config && size-limit",
"test": "npm --workspace=@trilogy-ds/react run test",
"test:native": "npm --workspace=@trilogy-ds/react run test:native",
"check-types": "npm --workspace=@trilogy-ds/react run check-types",
"watch:css": "npm --workspace=@trilogy-ds/styles run watch:css",
"watch:cssMangled": "npm --workspace=@trilogy-ds/styles run watch:cssMangled",
"pages": "cd examples/react-template && npm run build && rimraf ../../docs/templates && mkdir -p ../../docs/templates && cp -R ./dist/* ../../docs/templates"
},
"dependencies": {
"@react-native-picker/picker": "^2.6.1",
"@trilogy-ds/assets": "*",
"clsx": "^2.1.0",
"color": "^4.2.3",
"react-content-loader": "^6.2.1",
"react-native-modal": "^13.0.1",
"react-native-toast-message": "^2.2.0",
"rollup-plugin-copy": "^3.5.0",
"shortid": "^2.2.16"
},
"peerDependencies": {
"react": ">=18.2.0",
"react-dom": ">=18",
"react-native-gesture-handler": ">=2.15.0",
"react-native-svg": "^15.1.0"
},
"peerDependenciesMeta": {
"react-native-gesture-handler": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@codemirror/lang-javascript": "^6.2.2",
"@mdx-js/react": "^3.0.1",
"@ptomasroos/react-native-multi-slider": "^2.2.2",
"@size-limit/preset-big-lib": "^8.2.6",
"@storybook/addon-a11y": "^6.5.16",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-docs": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@storybook/addon-storysource": "^6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/react": "^6.5.16",
"@storybook/theming": "^6.5.16",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.2.1",
"@testing-library/react-native": "^12.5.1",
"@testing-library/user-event": "^13.5.0",
"@types/color": "^3.0.6",
"@types/jest": "^29.5.12",
"@types/node": "^15.14.9",
"@types/react": "^18.2.63",
"@types/react-dom": "^18.2.20",
"@types/react-router-dom": "^5.3.3",
"@types/react-test-renderer": "^18.0.7",
"@types/shortid": "^0.0.32",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@uiw/codemirror-themes": "^4.21.24",
"@uiw/react-codemirror": "^4.21.24",
"@vitejs/plugin-react": "^4.2.1",
"@whitespace/storybook-addon-html": "^5.1.6",
"babel-jest": "^29.7.0",
"babel-loader": "^8.3.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^5.2.7",
"dotenv": "^16.4.5",
"esbuild": "^0.19.12",
"eslint": "^8.57.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"extract-loader": "^5.1.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^6.2.12",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"markdownlint": "^0.31.1",
"mini-css-extract-plugin": "^2.8.1",
"mkdirp": "^1.0.4",
"postcss": "^8.4.35",
"postcss-loader": "^6.2.1",
"postcss-preset-env": "^7.8.3",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-docgen-typescript": "^2.2.2",
"react-docgen-typescript-plugin": "^1.0.5",
"react-dom": "~18.2.0",
"react-markdown": "^8.0.7",
"react-native": "^0.73.5",
"react-router-dom": "^6.22.2",
"react-syntax-highlighter": "^15.5.0",
"react-test-renderer": "~18.2.0",
"resolve-url-loader": "^5.0.0",
"rimraf": "^3.0.2",
"sass": "^1.71.1",
"sass-loader": "^13.3.3",
"size-limit": "^8.2.6",
"storybook": "^7.6.17",
"storybook-addon-code-editor": "^2.2.1",
"storybook-addon-preview": "^2.3.0",
"string-replace-loader": "^3.1.0",
"style-loader": "^3.3.4",
"svgo": "^3.2.0",
"ts-morph": "^23.0.0",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.8",
"tslib": "^2.6.2",
"typescript": "^4.9.5",
"vite": "^4.5.2",
"vite-tsconfig-paths": "^4.3.1",
"webpack": "^5.90.3",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.15.1",
"webpack-iconfont-plugin-nodejs": "^1.0.33",
"metro-react-native-babel-preset": "^0.77.0"
},
"workspaces": [
"packages/react",
"packages/styles",
"packages/assets",
"packages/vanilla",
"examples/react-template"
],
"engineStrict": true,
"engines": {
"npm": ">=8.0.0",
"node": ">=18.0.0"
}
}