-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 4.69 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
{
"name": "core-vite-app-example",
"private": true,
"version": "1.0.0",
"homepage": "cmf-app",
"scripts": {
"prepare": "husky install",
"dev": "vite",
"build": "NODE_ENV=production vite build",
"build:cmf": "NODE_ENV=production vite --config vite.config.cmf.js build",
"build:lib": "NODE_ENV=production vite --config vite.config.lib.js build",
"build:tsc": "NODE_ENV=production tsc -p tsconfig.node.json",
"build:routes:config": "node scripts/routesConfigBuilder.js",
"lint": "eslint src cypress .storybook scripts --ext js,jsx,ts,tsx",
"lint:quiet": "yarn lint -- --quiet",
"lint:quiet:watch": "nodemon --watch './src/**/*' --exec yarn lint:quiet",
"lint:fix": "yarn lint -- --fix",
"stylelint": "npx stylelint 'src/**/*.css'",
"test": "jest src",
"test:coverage": "yarn test -- --coverage",
"test:watch": "yarn test -- --watch",
"preview": "vite preview",
"start": "vite preview",
"start2": "npx -y serve -p 8080 -C ./dist",
"start:cmf:local": "npx serve ./dist -p 2001 -C",
"cy:dev": "cypress open -C cypress/cypress-dev.config.ts",
"cy:dev:run": "cypress run -C cypress/cypress-dev.config.ts",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build -- --no-manager-cache && cp ./start-storybook.sh ./storybook-static && cp -r ./src/locales ./storybook-static",
"plop": "plop",
"tsc": "tsc",
"package:update": "npm-check-updates -i",
"generate:docs": "typedoc --options ./typedoc.js --tsconfig ./tsconfig.typedoc.json ./src",
"prepush": "yarn lint && yarn test && yarn tsc",
"changelog:release": "ts-node ./scripts/changelogGenerator",
"generate:scss:types:all": "ts-node --esm ./scripts/typed-scss-modules/index.mts src",
"generate:scss:types": "ts-node --esm ./scripts/typed-scss-modules/index.mts",
"docker:build": "docker build -f LocalDockerfile . -t cui/core-vite-app-example",
"docker:run": "docker run -it -p 8080:8080 cui/core-vite-app-example",
"npmList": "ts-node ./scripts/npmList"
},
"engines": {
"node": ">=18 <19"
},
"overrides": {
"@testing-library/react-hooks": {
"@types/react": "$@types/react",
"react": "$react",
"react-dom": "$react-dom"
},
"vite-plugin-replace": {
"vite": "$vite"
}
},
"dependencies": {
"@e1011/core-micro-frontend": "^1.0.0",
"@e1011/es-kit": "^1.0.222",
"@e1011/i18n-kit": "^1.0.1",
"dayjs": "^1.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"reselect": "^4.1.8"
},
"devDependencies": {
"@babel/eslint-plugin": "^7.25.1",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@earlorg/eslint-config": "^1.5.73",
"@storybook/addon-actions": "^8.0.9",
"@storybook/addon-essentials": "^8.0.9",
"@storybook/addon-interactions": "^8.0.9",
"@storybook/addon-links": "^8.0.9",
"@storybook/addon-mdx-gfm": "^8.0.9",
"@storybook/addon-storysource": "^8.0.9",
"@storybook/addon-themes": "^8.0.9",
"@storybook/addon-viewport": "^8.0.9",
"@storybook/blocks": "^8.0.9",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^8.0.9",
"@storybook/react-vite": "^8.0.9",
"@storybook/source-loader": "^8.0.9",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.10",
"@types/react": "^18.2.40",
"@types/react-dom": "^18.2.17",
"@types/shelljs": "^0.8.15",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"@vitejs/plugin-react": "^4.2.1",
"chalk-pipe": "^6.0.0",
"cypress": "^13.6.4",
"cypress-multi-reporters": "^1.6.4",
"cypress-real-events": "^1.11.0",
"dotenv": "^16.4.5",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"inquirer": "^9.2.14",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-check-updates": "^16.14.14",
"plop": "^4.0.1",
"rollup-plugin-external-globals": "^0.10.0",
"rollup-plugin-replace": "^2.2.0",
"sass": "^1.70.0",
"shelljs": "^0.8.5",
"simple-git": "^3.22.0",
"storybook": "^8.0.9",
"storybook-addon-themes": "^6.1.0",
"storybook-dark-mode": "^4.0.1",
"stylelint": "^16.2.0",
"stylelint-config-standard": "^36.0.0",
"terser": "^5.27.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typed-scss-modules": "^8.0.0",
"typedoc": "^0.25.7",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vite-plugin-html": "^3.2.2",
"vite-plugin-replace": "^0.1.1",
"vite-tsconfig-paths": "^4.3.1",
"whatwg-fetch": "^3.6.20"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.9.5"
}
}