-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 6.22 KB
/
package.json
File metadata and controls
156 lines (156 loc) · 6.22 KB
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
{
"name": "trilogy-ds",
"version": "4.10.0",
"private": true,
"license": "UNLICENSED",
"author": "Bouygues Telecom",
"repository": {
"type": "git",
"url": "https://github.com/BouyguesTelecom/trilogy"
},
"scripts": {
"mobile": "npm --workspace=examples/mobile run ios",
"prebuild": "npm run build:version && ./scripts/install-hooks.sh",
"build": "npm run build:locale-fr && npm run build:locale-en && 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:version && npm run build:css",
"build:version": "node scripts/create-version.cjs",
"build:locale-fr": "cd packages/locales/fr && npm run build",
"build:locale-en": "cd packages/locales/en && npm run build",
"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",
"serve:vanilla": "npm --workspace=@trilogy-ds/vanilla run serve",
"setup": "npm i && npm run build && npm i && npm start",
"postinstall": "./scripts/install-hooks.sh"
},
"dependencies": {
"@react-native-picker/picker": "^2.6.1",
"@trilogy-ds/assets": "*",
"clsx": "^2.1.0",
"react-native-modal": "^13.0.1",
"react-native-svg": "^15.1.0",
"react-native-toast-message": "^2.2.0",
"rollup-plugin-copy": "^3.5.0"
},
"peerDependencies": {
"react": ">=18.2.0",
"react-dom": ">=18",
"react-native-gesture-handler": ">=2.15.0"
},
"peerDependenciesMeta": {
"react-native-gesture-handler": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@ptomasroos/react-native-multi-slider": "^2.2.2",
"@react-native-community/cli": "^20.0.2",
"@react-native-community/datetimepicker": "8.2.0",
"@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/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",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-react": "^4.2.1",
"babel-jest": "^29.7.0",
"babel-loader": "^8.3.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^5.2.7",
"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",
"expo-document-picker": "~12.0.2",
"expo-image-picker": "~15.1.0",
"file-loader": "^6.2.0",
"glob": "^13.0.6",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jest-util": "^29.7.0",
"metro-react-native-babel-preset": "^0.77.0",
"mini-css-extract-plugin": "^2.8.1",
"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-hook-form": "^7.54.2",
"react-native": "^0.73.5",
"react-native-reanimated": "~3.10.1",
"react-native-web": "^0.19.13",
"react-router-dom": "^6.22.2",
"react-test-renderer": "~18.2.0",
"resolve-url-loader": "^5.0.0",
"sass": "^1.71.1",
"sass-loader": "^13.3.3",
"size-limit": "^8.2.6",
"string-replace-loader": "^3.1.0",
"style-loader": "^3.3.4",
"svgo": "^3.2.0",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-morph": "^23.0.0",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.8",
"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"
},
"overrides": {
"@react-native-community/cli": "^20.0.2"
},
"workspaces": [
"packages/react",
"packages/styles",
"packages/assets",
"packages/vanilla",
"packages/locales/en",
"examples/react-template"
],
"engineStrict": true,
"engines": {
"npm": ">=8.0.0",
"node": ">=18.0.0"
}
}