-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
87 lines (87 loc) · 2.51 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
{
"name": "webpack-font-preload-plugin",
"version": "2.0.0-beta.0",
"description": "A webpack plugin to allow preloading or prefetching of fonts.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"clean": "rimraf lib",
"build": "tsc",
"prepare": "npm run clean && npm run build",
"lint": "eslint \"{src,test}/**/*.js\"",
"lint:fix": "eslint \"{src,test}/**/*.js\" --fix",
"test": "jest --config ./jest.config.ts",
"test:watch": "jest --watch --config ./jest.config.ts",
"pretty-src": "prettier --write \"src/**/*.{js,ts,json,md}\"",
"pretty-test": "prettier --write \"test/**/*.{js,ts,json,md}\"",
"pretty-configs": "prettier --write \"*.{js,ts,json,md}\"",
"pretty": "npm run pretty-src && npm run pretty-test && npm run pretty-configs"
},
"engines": {
"node": ">= 14.16.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sn-satyendra/webpack-font-preload-plugin.git"
},
"keywords": [
"webpack",
"preload",
"fonts",
"prefetch"
],
"peerDependencies": {
"webpack": "^5.0.0"
},
"author": "Satyendra Singh Naruka",
"license": "MIT",
"bugs": {
"url": "https://github.com/sn-satyendra/webpack-font-preload-plugin/issues"
},
"homepage": "https://github.com/sn-satyendra/webpack-font-preload-plugin#readme",
"dependencies": {
"jsdom": "^19.0.0"
},
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@types/jest": "^28.1.1",
"@types/jsdom": "^16.2.14",
"@types/node": "^17.0.42",
"@types/rimraf": "^3.0.2",
"@types/webpack-sources": "^3.2.0",
"babel-jest": "^28.1.1",
"babel-loader": "^8.2.5",
"css-loader": "^6.7.1",
"eslint": "^8.17.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-prettier": "^4.0.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^6.0.0",
"jest": "^28.1.1",
"lint-staged": "^11.0.0",
"mini-css-extract-plugin": "^2.6.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.4",
"ts-node": "^10.8.1",
"typescript": "^4.7.3",
"webpack": "^5.73.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts,json,md}": "npm run pretty-src",
"test/**/*.{js,ts,json,md}": "npm run pretty-test",
"*.{js,ts,json,md}": "npm run pretty-configs"
}
}