-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 4.26 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 4.26 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
{
"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": "npm --workspace=@trilogy-ds/storybook run build",
"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/assets run optimise:icons",
"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",
"storybook": "npm --workspace=@trilogy-ds/storybook run dev",
"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"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.2.1",
"@testing-library/react-native": "^13.3.3",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^29.5.12",
"@types/node": "^15.14.9",
"@types/react": "^18.2.63",
"@types/react-test-renderer": "^18.0.7",
"@typescript-eslint/eslint-plugin": "^8.65.0",
"@typescript-eslint/parser": "^8.65.0",
"@vitejs/plugin-react": "^4.2.1",
"babel-jest": "^29.7.0",
"esbuild": "^0.28.1",
"eslint": "^10.8.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-jest": "^29.16.0",
"eslint-plugin-jest-dom": "^5.5.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",
"prettier": "^2.8.8",
"sass": "^1.71.1",
"size-limit": "^8.2.6",
"ts-jest": "^29.1.2",
"ts-morph": "^28.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"
},
"overrides": {
"@react-native-community/cli": "^20.0.2"
},
"workspaces": [
"packages/react",
"packages/styles",
"packages/assets",
"packages/vanilla",
"packages/storybook",
"packages/locales/en",
"examples/react-template"
],
"engineStrict": true,
"engines": {
"npm": ">=8.0.0",
"node": ">=18.0.0"
}
}