package.json 2.8 KB

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