[6a3a178] | 1 | {
|
---|
| 2 | "name": "critters",
|
---|
| 3 | "version": "0.0.10",
|
---|
| 4 | "description": "Plugin to inline critical CSS and lazy-load the rest.",
|
---|
| 5 | "main": "dist/critters.js",
|
---|
| 6 | "source": "src/index.js",
|
---|
| 7 | "typings": "src/index.d.ts",
|
---|
| 8 | "license": "Apache-2.0",
|
---|
| 9 | "author": "The Chromium Authors",
|
---|
| 10 | "contributors": [
|
---|
| 11 | {
|
---|
| 12 | "name": "Jason Miller",
|
---|
| 13 | "email": "developit@google.com"
|
---|
| 14 | },
|
---|
| 15 | {
|
---|
| 16 | "name": "Janicklas Ralph",
|
---|
| 17 | "email": "janicklas@google.com"
|
---|
| 18 | }
|
---|
| 19 | ],
|
---|
| 20 | "files": [
|
---|
| 21 | "src",
|
---|
| 22 | "dist"
|
---|
| 23 | ],
|
---|
| 24 | "keywords": [
|
---|
| 25 | "critical css",
|
---|
| 26 | "inline css",
|
---|
| 27 | "critical",
|
---|
| 28 | "critters",
|
---|
| 29 | "webpack plugin",
|
---|
| 30 | "performance"
|
---|
| 31 | ],
|
---|
| 32 | "repository": "GoogleChromeLabs/critters",
|
---|
| 33 | "scripts": {
|
---|
| 34 | "build": "npm run -s build:main && npm run -s build:webpack",
|
---|
| 35 | "build:main": "microbundle --target node",
|
---|
| 36 | "build:webpack": "cd packages/critters-webpack-plugin && npm run -s build",
|
---|
| 37 | "docs": "documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src",
|
---|
| 38 | "prepare": "npm run -s build",
|
---|
| 39 | "release": "npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish",
|
---|
| 40 | "test": "jest --coverage"
|
---|
| 41 | },
|
---|
| 42 | "jest": {
|
---|
| 43 | "testEnvironment": "jsdom",
|
---|
| 44 | "testURL": "http://localhost",
|
---|
| 45 | "coverageReporters": [
|
---|
| 46 | "text"
|
---|
| 47 | ],
|
---|
| 48 | "collectCoverageFrom": [
|
---|
| 49 | "src/**/*.js"
|
---|
| 50 | ],
|
---|
| 51 | "watchPathIgnorePatterns": [
|
---|
| 52 | "node_modules",
|
---|
| 53 | "dist"
|
---|
| 54 | ]
|
---|
| 55 | },
|
---|
| 56 | "devDependencies": {
|
---|
| 57 | "@babel/preset-env": "^7.11.0",
|
---|
| 58 | "babel-core": "^6.26.0",
|
---|
| 59 | "babel-jest": "^26.3.0",
|
---|
| 60 | "css-loader": "^4.2.1",
|
---|
| 61 | "documentation": "^13.0.2",
|
---|
| 62 | "eslint": "^7.6.0",
|
---|
| 63 | "eslint-config-prettier": "^6.11.0",
|
---|
| 64 | "eslint-config-standard": "^14.1.1",
|
---|
| 65 | "eslint-plugin-import": "^2.11.0",
|
---|
| 66 | "eslint-plugin-jest": "^23.20.0",
|
---|
| 67 | "eslint-plugin-node": "^11.1.0",
|
---|
| 68 | "eslint-plugin-promise": "^4.2.1",
|
---|
| 69 | "eslint-plugin-standard": "^4.0.1",
|
---|
| 70 | "file-loader": "^6.0.0",
|
---|
| 71 | "html-webpack-plugin": "^3.2.0",
|
---|
| 72 | "jest": "^26.3.0",
|
---|
| 73 | "microbundle": "^0.12.3",
|
---|
| 74 | "mini-css-extract-plugin": "^0.10.0",
|
---|
| 75 | "webpack": "^4.6.0",
|
---|
| 76 | "webpack-log": "^3.0.2"
|
---|
| 77 | },
|
---|
| 78 | "dependencies": {
|
---|
| 79 | "chalk": "^4.1.0",
|
---|
| 80 | "css": "^3.0.0",
|
---|
| 81 | "parse5": "^6.0.1",
|
---|
| 82 | "parse5-htmlparser2-tree-adapter": "^6.0.1",
|
---|
| 83 | "pretty-bytes": "^5.3.0"
|
---|
| 84 | }
|
---|
| 85 | }
|
---|