-
Notifications
You must be signed in to change notification settings - Fork 99
/
package.json
125 lines (125 loc) · 3.72 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
{
"name": "facesjs",
"version": "4.2.2",
"description": "A JavaScript library for generating vector-based cartoon faces",
"repository": {
"type": "git",
"url": "git+https://github.com/zengm-games/facesjs.git"
},
"author": "Jeremy Scheff <[email protected]> (https://dumbmatter.com/)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/zengm-games/facesjs/issues"
},
"keywords": [
"faces",
"cartoon",
"mii",
"avatar",
"svg",
"vector"
],
"homepage": "https://zengm.com/facesjs/",
"type": "module",
"scripts": {
"dev": "vite",
"test": "pnpm tsc --noEmit --emitDeclarationOnly false && eslint && vitest run",
"build": "node tools/process-svgs.js && rm -rf build && pnpm run build-commonjs && pnpm run build-esmodules && pnpm tsc -p tsconfig-esmodules.json && pnpm tsc -p tsconfig-commonjs.json",
"build-commonjs": "cross-env BABEL_ENV=commonjs babel src --extensions '.js,.jsx,.ts,.tsx' --out-dir build/commonjs && echo '{\"type\": \"commonjs\"}' > build/commonjs/package.json",
"build-esmodules": "babel src --extensions '.js,.jsx,.ts,.tsx' --out-dir build/esmodules",
"build-site": "vite build",
"prepare": "node tools/process-svgs.js && husky",
"prepublishOnly": "pnpm test && pnpm run build"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@eslint/js": "^9.5.0",
"@nextui-org/react": "^2.4.2",
"@phosphor-icons/react": "^2.1.6",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.14.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@uiw/color-convert": "^2.3.0",
"@uiw/react-color-alpha": "^2.3.0",
"@uiw/react-color-editable-input": "^2.3.0",
"@uiw/react-color-editable-input-rgba": "^2.3.0",
"@uiw/react-color-hue": "^2.3.0",
"@uiw/react-color-saturation": "^2.3.0",
"@uiw/react-color-swatch": "^2.3.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"autoprefixer": "^10.4.19",
"babel-plugin-add-module-exports": "^1.0.4",
"chokidar": "^3.6.0",
"cross-env": "^7.0.3",
"eslint": "^9.5.0",
"framer-motion": "^11.2.11",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"postcss": "^8.4.38",
"prettier": "^3.3.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"svgo": "^3.3.2",
"tailwind-scrollbar": "^3.1.0",
"tailwind-variants": "^0.2.1",
"tailwindcss": "^3.4.4",
"typescript": "^5.5.2",
"typescript-eslint": "^7.13.1",
"vite": "^5.3.1",
"vitest": "^1.6.0",
"zustand": "^4.5.2"
},
"dependencies": {
"svg-path-bbox": "^2.0.0"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"exports": {
".": {
"import": {
"types": "./build/esmodules/index.d.ts",
"default": "./build/esmodules/index.js"
},
"require": {
"types": "./build/commonjs/index.d.ts",
"default": "./build/commonjs/index.js"
}
},
"./react": {
"import": {
"types": "./build/esmodules/Face.d.ts",
"default": "./build/esmodules/Face.js"
},
"require": {
"types": "./build/commonjs/Face.d.ts",
"default": "./build/commonjs/Face.js"
}
}
},
"main": "./build/commonjs/index.js",
"types": "./build/commonjs/index.d.ts",
"files": [
"build"
],
"bin": "build/esmodules/cli.js",
"lint-staged": {
"*.{js,cjs,mjs,jsx,json,css,ts,tsx}": "prettier --write"
},
"sideEffects": false
}