-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
93 lines (93 loc) · 2.59 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
{
"private": true,
"name": "figma-plugin-typescript-boilerplate",
"version": "1.0.0",
"description": "Figma plugin TypeScript boilerplate to start developing right away.",
"scripts": {
"start": "npm run dev",
"dev": "webpack --watch",
"prebuild": "npm run lint:fix && rimraf dist/*",
"build": "webpack --mode=production",
"lint": "npm run lint:ts && npm run lint:css",
"lint:fix": "npm run lint:ts:fix && npm run lint:css:fix",
"lint:ts": "eslint . --ext .ts,.js",
"lint:ts:fix": "eslint . --ext .ts,.js --fix",
"lint:css": "stylelint 'src/**/*'",
"lint:css:fix": "stylelint 'src/**/*' --fix",
"test:base": "jest --passWithNoTests",
"test:precheck": "test -d dist || npm run build",
"pretest": "npm run test:precheck",
"test": "npm run test:base",
"pretest:watch": "npm run test:precheck",
"test:watch": "npm run test:base -- --watch"
},
"author": {
"name": "Aarón García Hervás",
"email": "[email protected]",
"url": "https://twitter.com/aarongarciah"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/aarongarciah/figma-plugin-typescript-boilerplate"
},
"homepage": "https://github.com/aarongarciah/figma-plugin-typescript-boilerplate#readme",
"devDependencies": {
"@types/figma": "^1.0.4",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.2",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
"css-loader": "^6.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"html-inline-script-webpack-plugin": "^2.0.2",
"html-webpack-plugin": "^5.3.2",
"husky": "^7.0.2",
"jest": "^27.2.4",
"lint-staged": "^11.1.2",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"style-loader": "^3.3.0",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recommended": "^5.0.0",
"stylelint-prettier": "^1.2.0",
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.6",
"typescript": "^4.4.3",
"url-loader": "^4.1.1",
"webpack": "^5.56.0",
"webpack-cli": "^4.8.0"
},
"keywords": [
"figma",
"plugin",
"figma plugin",
"boilerplate",
"typescript",
"eslint",
"stylelint",
"prettier"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"git add"
],
"src/**/*": [
"stylelint --fix",
"git add"
],
"*.{html,json,md}": [
"prettier --write",
"git add"
]
}
}