package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "2.2.5",
  4. "description": "一套轻量级移动端Vue组件库",
  5. "typings": "dist/types/index.d.ts",
  6. "main": "dist/nutui.js",
  7. "files": [
  8. "dist",
  9. "README.md",
  10. "package.json",
  11. "LICENSE",
  12. "CHANGELOG.md"
  13. ],
  14. "scripts": {
  15. "dev": "nutui-cli dev",
  16. "build": "nutui-cli build",
  17. "build:site": "nutui-cli build-site",
  18. "clean": "nutui-cli clean",
  19. "add": "nutui-cli add",
  20. "test": "cross-env NODE_ENV=test nyc mocha-webpack --webpack-config node_modules/@nutui/cli/dist_cli/webpack/test.config.js --require node_modules/@nutui/cli/dist_cli/test/setup.js src/packages/*/__test__/**.spec.js",
  21. "coveralls": "cat ./coverage/lcov.info | coveralls",
  22. "test:watch": "npm run test --watch",
  23. "prettier:fix": "prettier --write src/**/*.{ts,js,vue,scss}"
  24. },
  25. "husky": {
  26. "hooks": {
  27. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  28. }
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "https://github.com/jdf2e/nutui.git"
  33. },
  34. "keywords": [
  35. "nutui",
  36. "nutui2",
  37. "vue",
  38. "webpack",
  39. "vue component",
  40. "jdc",
  41. "jdcfe"
  42. ],
  43. "author": "jdcfe",
  44. "license": "MIT",
  45. "dependencies": {
  46. "@babel/plugin-proposal-object-rest-spread": "^7.9.5",
  47. "@babel/plugin-syntax-jsx": "^7.8.3",
  48. "@babel/plugin-transform-runtime": "^7.9.6",
  49. "@commitlint/cli": "^8.0.0",
  50. "@commitlint/config-conventional": "^8.0.0",
  51. "@nutui/cli": "^0.2.0",
  52. "@vue/composition-api": "^0.5.0",
  53. "babel-plugin-istanbul": "^6.0.0",
  54. "gsap": "^3.2.6",
  55. "husky": "^3.0.0",
  56. "vue-lazyload": "^1.3.3",
  57. "vue-qr": "^2.2.1"
  58. },
  59. "peerDependencies": {
  60. "vue": "^2.6.10"
  61. },
  62. "devDependencies": {
  63. "@babel/plugin-syntax-dynamic-import": "^7.8.3",
  64. "@babel/plugin-transform-object-assign": "^7.8.3",
  65. "@typescript-eslint/eslint-plugin": "^2.16.0",
  66. "@typescript-eslint/parser": "^2.16.0",
  67. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  68. "eslint-plugin-import": "^2.20.0",
  69. "eslint-plugin-vue": "^6.1.2",
  70. "stylelint-config-standard": "^19.0.0"
  71. },
  72. "nyc": {
  73. "include": [
  74. "src/packages/**/*.vue"
  75. ],
  76. "reporter": [
  77. "lcov",
  78. "text"
  79. ],
  80. "instrument": false,
  81. "sourceMap": false
  82. }
  83. }