forked from destefanis/design-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·49 lines (49 loc) · 1.48 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
{
"name": "figma-plugin-react-template",
"version": "1.0.0",
"description": "This plugin template uses Typescript. If you are familiar with Javascript, Typescript will look very familiar. In fact, valid Javascript code is already valid Typescript code.",
"license": "ISC",
"scripts": {
"build:ui": "vite build",
"build:plugin": "vite build -c ./vite.config.plugin.js",
"dev": "concurrently \"pnpm run build:ui --watch --emptyOutDir=false\" \"pnpm run build:plugin --watch --emptyOutDir=false\"",
"preview": "vite preview",
"prettier:format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,css,json}' "
},
"dependencies": {
"classnames": "^2.2.6",
"framer-motion": "^6.3.0",
"just-kebab-case": "^4.2.0",
"just-safe-get": "^4.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^8.0.7"
},
"devDependencies": {
"@figma/plugin-typings": "1.70",
"@types/node": "^18.8.4",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^2.1.0",
"concurrently": "^7.4.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"style-loader": "^0.23.1",
"typescript": "^4.6.4",
"vite": "^3.1.0",
"vite-plugin-singlefile": "^0.12.2",
"vite-plugin-svgr": "^2.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,css,json}": [
"prettier --write",
"git add"
]
}
}