package.json 1.8 KB
Newer Older
fxy060608's avatar
fxy060608 已提交
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
{
  "name": "@vue/component-compiler-utils",
  "version": "3.1.0",
  "description": "Lower level utilities for compiling Vue single file components",
  "main": "dist/index.js",
  "typings": "dist/index.d.ts",
  "files": [
    "dist",
    "lib"
  ],
  "scripts": {
    "lint": "prettier --write \"{lib,test}/**/*.ts\"",
    "test": "prettier --list-different \"{lib,test}/**/*.ts\" && jest --coverage",
    "build": "rm -rf dist && tsc",
    "prepublishOnly": "yarn build && conventional-changelog -p angular -r 2 -i CHANGELOG.md -s"
  },
  "gitHooks": {
    "pre-commit": "lint-staged"
  },
  "lint-staged": {
    "*.{ts,js}": [
      "prettier --write",
      "git add"
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vuejs/component-compiler-utils.git"
  },
  "keywords": [
    "vue",
    "sfc",
    "component",
    "compiler"
  ],
  "author": "Evan You",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/vuejs/component-compiler-utils/issues"
  },
  "homepage": "https://github.com/vuejs/component-compiler-utils#readme",
  "devDependencies": {
    "@types/jest": "^22.2.3",
    "@types/node": "^10.12.20",
    "conventional-changelog-cli": "^2.0.11",
    "jest": "^24.0.0",
    "less": "^3.9.0",
    "lint-staged": "^8.1.1",
    "pug": "^2.0.3",
    "sass": "^1.17.3",
    "stylus": "^0.54.5",
    "ts-jest": "^24.0.0",
    "typescript": "^3.3.0",
    "vue": "^2.6.6",
    "vue-template-compiler": "^2.6.6",
    "yorkie": "^2.0.0"
  },
  "dependencies": {
    "consolidate": "^0.15.1",
    "hash-sum": "^1.0.2",
    "lru-cache": "^4.1.2",
    "merge-source-map": "^1.1.0",
    "postcss": "^7.0.14",
    "postcss-selector-parser": "^5.0.0",
    "prettier": "^1.18.2",
    "source-map": "~0.6.1",
    "vue-template-es2015-compiler": "^1.9.0"
  }
}