UNPKG

1.82 kBJSONView Raw
1{
2 "name": "critical",
3 "version": "1.3.9",
4 "description": "Extract & Inline Critical-path CSS from HTML",
5 "author": "Addy Osmani",
6 "license": "Apache-2.0",
7 "repository": "addyosmani/critical",
8 "scripts": {
9 "mocha": "mocha test/*.js --timeout 100000",
10 "xo": "xo",
11 "test": "npm run xo && npm run mocha"
12 },
13 "files": [
14 "cli.js",
15 "index.js",
16 "lib/*.js"
17 ],
18 "bin": "cli.js",
19 "keywords": [
20 "critical",
21 "path",
22 "css",
23 "optimization"
24 ],
25 "engines": {
26 "node": ">=6.4.0"
27 },
28 "dependencies": {
29 "async-exit-hook": "^2.0.1",
30 "bluebird": "^3.7.1",
31 "chalk": "^2.4.2",
32 "clean-css": "^4.2.1",
33 "debug": "^4.1.1",
34 "filter-css": "^1.0.0",
35 "fs-extra": "^8.1.0",
36 "get-stdin": "^6.0.0",
37 "got": "^8.3.2",
38 "group-args": "^0.1.0",
39 "indent-string": "^3.2.0",
40 "inline-critical": "^4.1.2",
41 "lodash": "^4.17.15",
42 "meow": "^5.0.0",
43 "mime-types": "^2.1.25",
44 "oust": "^0.5.2",
45 "penthouse": "^1.11.1",
46 "plugin-error": "^1.0.1",
47 "postcss": "^7.0.23",
48 "postcss-image-inliner": "^2.0.3",
49 "replace-ext": "^1.0.0",
50 "slash": "^2.0.0",
51 "tempy": "^0.2.1",
52 "through2": "^3.0.1",
53 "vinyl": "^2.2.0"
54 },
55 "devDependencies": {
56 "async": "^3.1.0",
57 "chai": "^4.2.0",
58 "finalhandler": "^1.1.2",
59 "get-port": "^4.2.0",
60 "mocha": "^6.2.2",
61 "mockery": "^2.1.0",
62 "normalize-newline": "^3.0.0",
63 "read-package-json": "^2.1.0",
64 "serve-static": "^1.14.1",
65 "stream-array": "^1.1.2",
66 "stream-assert": "^2.0.3",
67 "vinyl-source-stream": "^2.0.0",
68 "xo": "^0.24.0"
69 },
70 "xo": {
71 "space": 4,
72 "rules": {
73 "valid-jsdoc": "off"
74 },
75 "overrides": [
76 {
77 "files": "test/*.js",
78 "envs": [
79 "mocha"
80 ]
81 }
82 ]
83 }
84}