-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 2.07 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
{
"name": "twist-message",
"private": false,
"version": "0.1.1",
"description": "A react message component",
"main": "lib/index.js",
"module": "es/index.js",
"unpkg": "dist/twist-message.min.js",
"types": "es/index.d.ts",
"author": "razzh",
"license": "MIT",
"files": [
"dist",
"es",
"lib"
],
"scripts": {
"start": "concurrently pnpm:dev pnpm:dev:site",
"dev": "twist-scripts dev:component",
"build:component": "cross-env UMD_GLOBAL_NAME=TwistMessage UMD_FILE_NAME=twist-message.min.js BUILD_ENV_DIST_FILENAME_CSS=twist-message.min.css twist-scripts build:component",
"build:style:dev": "cross-env BUILD_ENV_MODE=development BUILD_ENV_DIST_FILENAME_CSS=twist-message.css twist-scripts build:style",
"build:umd:dev": "cross-env BUILD_ENV_MODE=development UMD_GLOBAL_NAME=TwistMessage UMD_FILE_NAME=twist-message.development.js twist-scripts build:umd",
"build": "pnpm build:component && pnpm build:umd:dev && pnpm build:style:dev",
"dev:site": "twist-scripts dev:site",
"build:site": "pnpm build && twist-scripts build:site",
"dtsgen": "twist-scripts dtsgen './components/**/*.{tsx,ts}'",
"clean": "./scripts/clean.sh",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "pnpm build && vite preview"
},
"dependencies": {
"@twist-space/react-icons": "0.3.0",
"clsx": "^2.1.1",
"react-transition-group": "^4.4.5"
},
"devDependencies": {
"@types/node": "^20.12.12",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react-transition-group": "^4.4.10",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"react": "18.2.0",
"react-dom": "18.2.0",
"twist-scripts": "0.1.0-alpha.2",
"typescript": "^5.2.2",
"vite": "^5.2.0"
}
}