package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "devlop",
  3. "version": "1.1.0",
  4. "description": "Do things in development and nothing otherwise",
  5. "license": "MIT",
  6. "keywords": [
  7. "assert",
  8. "deprecate",
  9. "develop",
  10. "development"
  11. ],
  12. "repository": "wooorm/devlop",
  13. "bugs": "https://github.com/wooorm/devlop/issues",
  14. "funding": {
  15. "type": "github",
  16. "url": "https://github.com/sponsors/wooorm"
  17. },
  18. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  19. "contributors": [
  20. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  21. ],
  22. "sideEffects": false,
  23. "type": "module",
  24. "exports": {
  25. "types": "./lib/development.d.ts",
  26. "development": "./lib/development.js",
  27. "default": "./lib/default.js"
  28. },
  29. "files": [
  30. "lib/"
  31. ],
  32. "dependencies": {
  33. "dequal": "^2.0.0"
  34. },
  35. "devDependencies": {
  36. "@rollup/plugin-node-resolve": "^15.1.0",
  37. "@rollup/plugin-terser": "^0.4.3",
  38. "@types/node": "^20.0.0",
  39. "c8": "^8.0.0",
  40. "esbuild": "^0.18.0",
  41. "prettier": "^2.0.0",
  42. "remark-cli": "^11.0.0",
  43. "remark-preset-wooorm": "^9.0.0",
  44. "type-coverage": "^2.0.0",
  45. "typescript": "^5.0.0",
  46. "xo": "^0.54.0"
  47. },
  48. "scripts": {
  49. "prepack": "npm run build && npm run format",
  50. "build": "tsc --build --clean && tsc --build && type-coverage",
  51. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  52. "test-api-development": "node --conditions development test-development.js",
  53. "test-api-default": "node test-default.js",
  54. "test-api": "npm run test-api-development && npm run test-api-default",
  55. "test-coverage": "c8 --100 --reporter lcov npm run test-api",
  56. "test": "npm run build && npm run format && npm run test-coverage"
  57. },
  58. "prettier": {
  59. "bracketSpacing": false,
  60. "semi": false,
  61. "singleQuote": true,
  62. "tabWidth": 2,
  63. "trailingComma": "none",
  64. "useTabs": false
  65. },
  66. "remarkConfig": {
  67. "plugins": [
  68. "remark-preset-wooorm"
  69. ]
  70. },
  71. "typeCoverage": {
  72. "atLeast": 100,
  73. "detail": true,
  74. "ignoreCatch": true,
  75. "strict": true
  76. },
  77. "xo": {
  78. "prettier": true
  79. }
  80. }