-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
executable file
·45 lines (45 loc) · 1.26 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
{
"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": "/usr/local/bin/node node_modules/.bin/webpack --mode=production",
"build:watch": "/usr/local/bin/node node_modules/.bin/webpack --mode=development --watch",
"prettier:format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,css,json}' "
},
"dependencies": {
"classnames": "^2.2.6",
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"devDependencies": {
"@types/react": "^16.8.24",
"@types/react-dom": "^16.8.5",
"css-loader": "^3.1.0",
"html-webpack-inline-source-plugin": "^0.0.10",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.2",
"lint-staged": "^9.2.1",
"prettier": "^1.18.2",
"style-loader": "^0.23.1",
"ts-loader": "^6.0.4",
"tslint": "^5.18.0",
"tslint-react": "^4.0.0",
"typescript": "^3.5.3",
"url-loader": "^2.1.0",
"webpack": "^4.39.1",
"webpack-cli": "^3.3.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,css,json}": [
"prettier --write",
"git add"
]
}
}