sounisi5011/metalsmith-postcss2

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "metalsmith-postcss2",
  "version": "2.0.0",
  "description": "Metalsmith plugin for PostCSS",
  "keywords": [
    "css",
    "metalsmith",
    "metalsmith-plugin",
    "plugin",
    "postcss",
    "postcss-runner",
    "preprocessor"
  ],
  "homepage": "https://github.com/sounisi5011/metalsmith-postcss2#readme",
  "bugs": {
    "url": "https://github.com/sounisi5011/metalsmith-postcss2/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sounisi5011/metalsmith-postcss2.git"
  },
  "license": "MIT",
  "author": "sounisi5011",
  "files": [
    "dist/"
  ],
  "main": "dist/index",
  "types": "dist/index.d.ts",
  "directories": {
    "test": "test"
  },
  "scripts": {
    "build": "run-s tsc",
    "build:readme": "node ./script/readme-generator.js --template ./readme-template.mustache",
    "clean": "del './dist/' './test/fixtures/*/build'",
    "fmt-pkg": "run-s fmt-pkg:prettier fmt-pkg:sort",
    "fmt-pkg:prettier": "prettier-package-json --write ./package.json",
    "fmt-pkg:sort": "sort-package-json '**/package.json' '!**/node_modules'",
    "fmt-ts": "run-s fmt-ts:prettier 'lint:eslint -- --fix'",
    "fmt-ts:prettier": "prettier --write '**/*.ts'",
    "lint": "run-p lint:*",
    "lint:eslint": "eslint --ext .ts ./",
    "lint:tsc-src": "tsc --noEmit",
    "lint:tsc-test": "tsc -p ./test/ --noEmit",
    "release": "run-s release:validation release:build release:publish",
    "release:build": "run-s clean build",
    "release:publish": "run-s release:publish:git release:publish:npm",
    "release:publish:git": "package-version-git-tag --push --verbose",
    "release:publish:npm": "npm publish --access=public",
    "release:validation": "npm-run-all release:validation:publishable -p 'release:validation:!(publishable)' test",
    "release:validation:git-branch": "git-branch-is master",
    "release:validation:git-work-dir": "is-git-status-clean",
    "release:validation:publishable": "can-npm-publish --verbose",
    "test": "run-s test:readme test:peer-deps lint test:ava test:check-type-defs-pkgs",
    "test:ava": "ava",
    "test:check-type-defs-pkgs": "node script/check-type-defs-pkgs.js ./dist/ build",
    "test:peer-deps": "check-peer-deps",
    "test:readme": "run-s 'build:readme -- --test'",
    "tsc": "tsc"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "!(package).json|*.{js,yaml,yml}": [
      "prettier --write",
      "git add"
    ],
    "*.ts": [
      "prettier --write",
      "eslint --fix",
      "git add"
    ],
    "./!(README.md)**": [
      "run-s build:readme --",
      "git add ./README.md"
    ],
    "./README.md": [
      "run-s test:readme --"
    ],
    "package.json": [
      "prettier-package-json --write",
      "sort-package-json",
      "git add"
    ]
  },
  "ava": {
    "compileEnhancements": false,
    "extensions": [
      "ts"
    ],
    "files": [
      "./test/**/*.ts"
    ],
    "helpers": [
      "**/{fixtures,helpers}/**/*"
    ],
    "require": [
      "ts-node/register/transpile-only"
    ]
  },
  "dependencies": {
    "@types/metalsmith": "2.3.0",
    "debug": "4.1.1",
    "deep-freeze-strict": "1.1.1",
    "import-cwd": "3.0.0",
    "is-path-inside": "3.0.2",
    "multimatch": "4.0.0",
    "postcss-load-config": "2.1.0",
    "valid-data-url": "2.0.0"
  },
  "devDependencies": {
    "@sounisi5011/check-peer-deps": "github:sounisi5011/check-peer-deps",
    "@sounisi5011/test-all-peerdeps": "file:script/test-all-peerdeps",
    "@types/cross-spawn": "6.0.1",
    "@types/debug": "4.1.5",
    "@types/deep-freeze-strict": "1.1.0",
    "@types/lodash.clonedeep": "4.5.6",
    "@types/node": "12.x",
    "@types/postcss-load-config": "2.0.1",
    "@types/valid-data-url": "2.0.0",
    "@typescript-eslint/eslint-plugin": "2.16.0",
    "@typescript-eslint/parser": "2.16.0",
    "ava": "2.4.0",
    "can-npm-publish": "1.3.2",
    "cross-spawn": "7.0.1",
    "del-cli": "3.0.0",
    "eslint": "6.8.0",
    "eslint-config-prettier": "6.9.0",
    "eslint-config-standard": "14.1.0",
    "eslint-plugin-import": "2.20.0",
    "eslint-plugin-node": "11.0.0",
    "eslint-plugin-prettier": "3.1.2",
    "eslint-plugin-promise": "4.2.1",
    "eslint-plugin-simple-import-sort": "5.0.0",
    "eslint-plugin-standard": "4.0.1",
    "git-branch-is": "3.1.0",
    "husky": "4.0.7",
    "is-git-status-clean": "1.0.0",
    "lint-staged": "9.5.0",
    "lodash.clonedeep": "4.5.0",
    "metalsmith": "2.3.0",
    "metalsmith-sass": "1.7.0",
    "mustache": "3.2.1",
    "npm-run-all": "4.1.5",
    "package-version-git-tag": "2.0.2",
    "postcss": "7.0.26",
    "postcss-import": "12.0.1",
    "prettier": "1.19.1",
    "prettier-package-json": "2.1.3",
    "sort-package-json": "1.39.0",
    "sugarss": "2.0.0",
    "ts-node": "8.6.2",
    "typescript": "3.7.4"
  },
  "peerDependencies": {
    "metalsmith": "^2.2.0",
    "postcss": "^7.0.8"
  },
  "engines": {
    "node": "^8.3.0 || 10.x || >=12.x"
  }
}