package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "j-component",
  3. "version": "1.4.6",
  4. "description": "miniprogram custom component framework",
  5. "main": "index.js",
  6. "types": "index.d.ts",
  7. "files": [
  8. "src",
  9. "index.d.ts"
  10. ],
  11. "scripts": {
  12. "test": "jest --bail",
  13. "test-debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --bail",
  14. "coverage": "jest --coverage --bail",
  15. "codecov": "jest --coverage && codecov",
  16. "lint": "eslint \"src/**/*.js\" --fix && eslint \"test/**/*.js\" --fix"
  17. },
  18. "jest": {
  19. "testEnvironment": "jsdom",
  20. "testURL": "https://jest.test",
  21. "testMatch": [
  22. "**/test/**/*.test.js"
  23. ],
  24. "collectCoverageFrom": [
  25. "src/**/*.js"
  26. ]
  27. },
  28. "repository": {
  29. "type": "git",
  30. "url": "https://github.com/wechat-miniprogram/j-component.git"
  31. },
  32. "author": "wechat-miniprogram",
  33. "license": "MIT",
  34. "devDependencies": {
  35. "@babel/core": "^7.9.6",
  36. "@babel/preset-env": "^7.9.6",
  37. "codecov": "^3.7.0",
  38. "eslint": "^5.3.0",
  39. "eslint-config-airbnb-base": "13.1.0",
  40. "eslint-plugin-import": "^2.14.0",
  41. "eslint-plugin-node": "^7.0.1",
  42. "eslint-plugin-promise": "^3.8.0",
  43. "jest": "^25.5.4",
  44. "jsdom": "^14.0.0",
  45. "miniprogram-compiler": "latest"
  46. },
  47. "dependencies": {
  48. "expr-parser": "^1.0.0",
  49. "miniprogram-api-typings": "^3.2.2",
  50. "miniprogram-exparser": "2.15.0"
  51. }
  52. }