generated from aarongarciah/figma-plugin-typescript-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.54 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
{
"private": true,
"name": "figma-css-colors",
"version": "1.0.0",
"description": "Get the value of every CSS Color inside Figma",
"scripts": {
"start": "npm run dev",
"dev": "webpack --watch",
"prebuild": "npm run lint:fix && rimraf dist/*",
"build": "webpack -p",
"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",
"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-css-colors"
},
"homepage": "https://github.com/aarongarciah/figma-css-colors#readme",
"devDependencies": {
"@types/figma": "^1.0.3",
"@types/jest": "^25.1.4",
"@types/node": "^13.9.5",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"clipboard-copy": "^3.1.0",
"css-loader": "^3.4.2",
"css-spec-colors": "^1.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"html-webpack-inline-source-plugin": "0.0.10",
"html-webpack-plugin": "^3.2.0",
"husky": "^4.2.3",
"is-dark-color": "^1.2.0",
"jest": "^25.2.4",
"lint-staged": "^10.1.0",
"prettier": "^2.0.2",
"rimraf": "^3.0.2",
"style-loader": "^1.1.3",
"stylelint": "^13.2.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-recommended": "^3.0.0",
"stylelint-prettier": "^1.1.2",
"ts-jest": "^25.3.0",
"ts-loader": "^6.2.2",
"typescript": "^3.8.3",
"url-loader": "^3.0.0",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11"
},
"keywords": [
"figma",
"plugin",
"color",
"css",
"colors",
"typescript",
"eslint",
"stylelint",
"prettier"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix"
],
"src/**/*": [
"stylelint --fix"
],
"*.{html,json,md}": [
"prettier --write"
]
}
}