package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "@vue/web-component-wrapper",
  3. "version": "1.3.0",
  4. "description": "wrap a vue component as a web component.",
  5. "main": "dist/vue-wc-wrapper.js",
  6. "unpkg": "dist/vue-wc-wrapper.global.js",
  7. "types": "types/index.d.ts",
  8. "files": [
  9. "dist",
  10. "types/*.d.ts"
  11. ],
  12. "scripts": {
  13. "test": "jest",
  14. "lint": "eslint src",
  15. "build": "rollup -c",
  16. "prepare": "rollup -c",
  17. "test:types": "tsc -p ./types/tsconfig.json"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "git+https://github.com/vuejs/web-component-wrapper.git"
  22. },
  23. "keywords": [
  24. "vue",
  25. "web-component"
  26. ],
  27. "author": "Evan You",
  28. "license": "MIT",
  29. "bugs": {
  30. "url": "https://github.com/vuejs/web-component-wrapper/issues"
  31. },
  32. "homepage": "https://github.com/vuejs/web-component-wrapper#readme",
  33. "devDependencies": {
  34. "eslint": "^4.16.0",
  35. "eslint-plugin-vue-libs": "^2.1.0",
  36. "http-server": "^0.11.1",
  37. "jest": "^22.1.4",
  38. "lint-staged": "^6.1.0",
  39. "puppeteer": "^1.0.0",
  40. "rollup": "^0.55.3",
  41. "typescript": "^3.2.2",
  42. "vue": "^2.5.13",
  43. "yorkie": "^1.0.3"
  44. },
  45. "eslintConfig": {
  46. "root": true,
  47. "env": {
  48. "browser": true
  49. },
  50. "extends": "plugin:vue-libs/recommended"
  51. },
  52. "gitHooks": {
  53. "pre-commit": "lint-staged"
  54. },
  55. "lint-staged": {
  56. "*.js": [
  57. "eslint --fix",
  58. "git add"
  59. ]
  60. }
  61. }