forked from GoogleChromeLabs/critters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (97 loc) · 2.15 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
{
"name": "critters-webpack-plugin",
"version": "1.2.1",
"description": "Webpack plugin to inline critical CSS and lazy-load the rest.",
"main": "dist/critters.js",
"source": "src/index.js",
"license": "Apache-2.0",
"author": "The Chromium Authors",
"contributors": [
{
"name": "Jason Miller",
"email": "[email protected]"
}
],
"keywords": [
"critical css",
"inline css",
"critical",
"critters",
"webpack plugin",
"performance"
],
"repository": "GoogleChromeLabs/critters",
"scripts": {
"build": "microbundle -f cjs --no-compress --external all",
"docs": "documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src",
"prepare": "npm run -s build",
"test": "jest --coverage"
},
"babel": {
"presets": [
"env"
]
},
"jest": {
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"coverageReporters": [
"text"
],
"collectCoverageFrom": [
"src/**/*"
],
"watchPathIgnorePatterns": [
"node_modules",
"dist"
]
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^22.4.3",
"babel-preset-env": "^1.6.1",
"css-loader": "^0.28.11",
"documentation": "^6.3.2",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jest": "^21.15.1",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"jest": "^22.4.3",
"microbundle": "^0.4.4",
"mini-css-extract-plugin": "^0.4.0",
"webpack": "^4.6.0"
},
"dependencies": {
"css": "^2.2.1",
"jsdom": "^12.0.0",
"parse5": "^4.0.0",
"pretty-bytes": "^4.0.2",
"webpack-sources": "^1.1.0"
},
"eslintConfig": {
"extends": [
"standard",
"plugin:jest/recommended"
],
"rules": {
"indent": [
2,
2
],
"semi": [
2,
"always"
],
"prefer-const": 1
},
"globals": {
"document": 0,
"DOMParser": 1
}
}
}