UNPKG

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