You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

83 lines
2.6 KiB

  1. {
  2. "name": "flatpickr",
  3. "version": "4.6.13",
  4. "description": "A lightweight, powerful javascript datetime picker",
  5. "scripts": {
  6. "build": "run-s build:pre build:build build:esm build:types build:post",
  7. "build:pre": "rimraf dist",
  8. "build:build": "ts-node --transpile-only build.ts",
  9. "build:esm": "tsc -p tsconfig.esm.json",
  10. "build:types": "tsc -p tsconfig.declarations.json",
  11. "build:post": "cp src/typings.d.ts dist/typings.d.ts",
  12. "fmt": "prettier --ignore-path .gitignore --trailing-comma es5 --write \"**/*.ts\"",
  13. "fmt:check": "prettier --ignore-path .gitignore --trailing-comma es5 --check \"**/*.ts\"",
  14. "start": "npm run build:build -- --dev",
  15. "test": "run-s test:typecheck test:unit",
  16. "test:typecheck": "tsc --noEmit --incremental",
  17. "test:unit": "jest --config config/jest.json",
  18. "coveralls": "npm run test:unit -- --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
  19. },
  20. "devDependencies": {
  21. "@babel/core": "^7.12.10",
  22. "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
  23. "@babel/plugin-proposal-optional-catch-binding": "^7.12.1",
  24. "@babel/preset-env": "^7.12.11",
  25. "@types/acorn": "^4.0.5",
  26. "@types/fs-extra": "^9.0.5",
  27. "@types/glob": "7.1.3",
  28. "@types/jest": "^27.4.1",
  29. "@types/jquery": "^3.5.5",
  30. "@types/node": "^14.14.14",
  31. "@types/stylus": "^0.48.33",
  32. "autoprefixer-stylus": "latest",
  33. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  34. "chokidar": "^3.4.3",
  35. "coveralls": "^3.1.0",
  36. "fs-extra": "^9.0.1",
  37. "glob": "^7.1.6",
  38. "jest": "^27.5.1",
  39. "npm-run-all": ">=4.1.5",
  40. "prettier": "^2.2.1",
  41. "rimraf": "^3.0.2",
  42. "rollup": "^2.35.1",
  43. "rollup-plugin-babel": "^4.4.0",
  44. "rollup-plugin-livereload": "^2.0.0",
  45. "rollup-plugin-serve": "1.1.0",
  46. "rollup-plugin-typescript": "^1.0.1",
  47. "stylus": "latest",
  48. "terser": "^5.5.1",
  49. "ts-jest": "^27.1.3",
  50. "ts-node": "^9.1.1",
  51. "tslib": "^2.0.3",
  52. "typescript": "^4.1.3"
  53. },
  54. "main": "dist/flatpickr.js",
  55. "module": "dist/esm/index.js",
  56. "style": "dist/flatpickr.css",
  57. "types": "./dist/typings.d.ts",
  58. "repository": {
  59. "type": "git",
  60. "url": "git+https://github.com/chmln/flatpickr.git"
  61. },
  62. "author": "Gregory <gregory.mkv@gmail.com>",
  63. "license": "MIT",
  64. "bugs": {
  65. "url": "https://github.com/chmln/flatpickr/issues"
  66. },
  67. "homepage": "https://flatpickr.js.org",
  68. "keywords": [
  69. "javascript",
  70. "datetimepicker",
  71. "calendar",
  72. "date",
  73. "time",
  74. "picker",
  75. "lightweight"
  76. ],
  77. "browserslist": [
  78. "ie >= 9",
  79. "last 2 versions",
  80. "safari >= 7"
  81. ]
  82. }