package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "@nutui/nutui-jdl",
  3. "version": "1.0.0",
  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. "bootstrap": "yarn || npm i",
  16. "dev": "nutui-cli dev",
  17. "build": "nutui-cli build",
  18. "build:site": "nutui-cli build-site",
  19. "clean": "nutui-cli clean",
  20. "add": "nutui-cli add",
  21. "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",
  22. "coveralls": "cat ./coverage/lcov.info | coveralls",
  23. "test:watch": "npm run test --watch",
  24. "upload:test": "node test_script/upload.js"
  25. },
  26. "repository": {
  27. "type": "git",
  28. "url": "https://github.com/jdf2e/nutui.git"
  29. },
  30. "eslintConfig": {
  31. "root": true,
  32. "extends": [
  33. "./eslint-config.js"
  34. ]
  35. },
  36. "husky": {
  37. "hooks": {
  38. "pre-commit": "lint-staged",
  39. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  40. }
  41. },
  42. "lint-staged": {
  43. "*.{ts,js,vue,scss}": "prettier --write"
  44. },
  45. "stylelint": {
  46. "extends": [
  47. "./stylelint-config.js"
  48. ]
  49. },
  50. "keywords": [
  51. "nutui",
  52. "nutui2",
  53. "vue",
  54. "webpack",
  55. "vue component",
  56. "jdc",
  57. "jdcfe"
  58. ],
  59. "author": "jdcfe",
  60. "license": "MIT",
  61. "dependencies": {
  62. "@babel/plugin-proposal-object-rest-spread": "^7.9.5",
  63. "@babel/plugin-syntax-jsx": "^7.8.3",
  64. "@babel/plugin-transform-runtime": "^7.9.6",
  65. "@commitlint/cli": "^8.0.0",
  66. "@commitlint/config-conventional": "^8.0.0",
  67. "babel-plugin-istanbul": "^6.0.0",
  68. "autoprefixer": "^9.8.4",
  69. "gsap": "^3.2.6",
  70. "lodash.clonedeep": "^4.5.0",
  71. "vue-lazyload": "^1.3.3",
  72. "vue-qr": "^2.2.1"
  73. },
  74. "peerDependencies": {
  75. "vue": "^2.6.10"
  76. },
  77. "devDependencies": {
  78. "@babel/plugin-syntax-dynamic-import": "^7.8.3",
  79. "@babel/plugin-transform-object-assign": "^7.8.3",
  80. "@nutui/cli": "^0.3.5",
  81. "@typescript-eslint/eslint-plugin": "^2.16.0",
  82. "@typescript-eslint/parser": "^2.16.0",
  83. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  84. "eslint-plugin-import": "^2.20.0",
  85. "eslint-plugin-vue": "^6.1.2",
  86. "husky": "^3.0.0",
  87. "mutation-observer": "^1.0.3",
  88. "prettier": "^2.0.5",
  89. "lint-staged": "^10.2.11",
  90. "stylelint-config-standard": "^19.0.0"
  91. },
  92. "nyc": {
  93. "include": [
  94. "src/packages/**/*.vue"
  95. ],
  96. "reporter": [
  97. "lcov",
  98. "text"
  99. ],
  100. "instrument": false,
  101. "sourceMap": false
  102. }
  103. }