generated from nirsky/figma-plugin-react-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.14 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
{
"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": "webpack --mode=production",
"build:watch": "webpack --mode=development --watch",
"prettier:format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,css,json}' "
},
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@figma/plugin-typings": "^1.24.0",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"css-loader": "^5.0.1",
"html-webpack-inline-source-plugin": "^0.0.10",
"html-webpack-plugin": "^3.2.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"prettier": "^2.3.1",
"style-loader": "^2.0.0",
"ts-loader": "^8.0.11",
"typescript": "^4.1.2",
"url-loader": "^4.1.1",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,css,json}": [
"prettier --write",
"git add"
]
}
}