-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
124 lines (124 loc) · 2.96 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "google-fonts-plugin",
"version": "5.0.2",
"description": "Webpack plugin that downloads fonts from Google Fonts and encodes them to base64.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepublishOnly": "npm test && npm run build",
"lint": "eslint --ext .js,.ts src/",
"lint-fix": "npm run lint -- --fix",
"test": "jest --coverage --env=node",
"posttest": "codecov",
"test-watch": "jest --watch --env=node",
"build": "rm -rf dist && tsc"
},
"repository": {
"type": "git",
"url": "https://github.com/SirPole/google-fonts-plugin"
},
"keywords": [
"google",
"fonts",
"google-fonts",
"webpack-plugin",
"webpack"
],
"author": "Martin Brychta <martin@brychta.name> (https://www.brychta.name/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/SirPole/google-fonts-plugin/issues"
},
"homepage": "https://github.com/SirPole/google-fonts-plugin#readme",
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"js",
"json"
]
},
"eslintConfig": {
"env": {
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"extends": [
"standard",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint",
"prettier/standard"
],
"plugins": [
"@typescript-eslint",
"prettier",
"standard"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"rules": {
"prettier/prettier": "error"
}
},
"prettier": {
"endOfLine": "lf",
"parser": "typescript",
"printWidth": 180,
"semi": false,
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"git add"
]
},
"dependencies": {
"axios": "^0.19.0",
"find-cache-dir": "^3.0.0",
"pkg-up": "^3.1.0"
},
"devDependencies": {
"@types/find-cache-dir": "^2.0.0",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.8",
"@types/webpack": "^4.39.1",
"@types/webpack-sources": "^0.1.5",
"@typescript-eslint/eslint-plugin": "2.3.1",
"@typescript-eslint/parser": "2.3.1",
"axios-mock-adapter": "^1.17.0",
"codecov": "^3.6.1",
"eslint": "6.4.0",
"eslint-config-prettier": "6.3.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^3.0.5",
"jest": "^24.9.0",
"lint-staged": "9.4.0",
"prettier": "1.18.2",
"ts-jest": "^24.1.0",
"typescript": "^3.6.3",
"webpack": "^4.41.0"
}
}