shortcut-buttons-flatpickr
Version:
Shortcut buttons is a plugin for flatpickr that provides users an alternative way to interact with the datetime picker.
96 lines (95 loc) • 3.75 kB
JSON
{
"name": "shortcut-buttons-flatpickr",
"description": "Shortcut buttons is a plugin for flatpickr that provides users an alternative way to interact with the datetime picker.",
"version": "0.4.0",
"main": "dist/shortcut-buttons-flatpickr.js",
"scripts": {
"build": "run-s build:pre build:dev build:prod",
"build:pre": "rm -rf dist && mkdir -p dist/themes",
"build:dev": "run-s build:ts:dev build:themes:dev",
"build:prod": "run-s build:ts:prod build:types build:themes:prod",
"build:ts:dev": "webpack --config build/webpack.config.ts --mode development",
"build:ts:prod": "webpack --config build/webpack.config.ts --mode production",
"build:themes:dev": "webpack --config build/webpack.themes.ts --mode development",
"build:themes:prod": "webpack --config build/webpack.themes.ts --mode production",
"build:types": "tsc -p tsconfig.declarations.json",
"prepublishOnly": "run-s build test:unit",
"start:server": "forever start -m 1 -c ts-node tests/server.ts",
"stop:server": "forever stopall",
"test": "run-s test:unit test:functional",
"test:unit": "mocha -r jsdom-global/register -r ts-node/register tests/unit/**/*.test.ts",
"test:coverage": "nyc -r lcov -r html -r text -n src/**/*.ts -e .ts -i ts-node/register -i jsdom-global/register --report-dir tests/coverage mocha tests/unit/**/*.test.ts",
"test:functional": "yarn test:functional:pre && wdio tests/wdio.conf.js",
"test:functional:pre": "rm -rf tests/public/dependencies && mkdir -p tests/public/dependencies && cp -r dist/ tests/public/dependencies/shortcut-buttons-flatpickr && cp -r node_modules/flatpickr/dist/ tests/public/dependencies/flatpickr",
"watch:ts": "webpack --config build/webpack.config.ts --mode development --watch",
"watch:themes": "webpack --config build/webpack.themes.ts --mode development --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jcsmorais/shortcut-buttons-flatpickr.git"
},
"keywords": [
"shortcut",
"buttons",
"flatpickr",
"plugin",
"calendar",
"javascript"
],
"author": "João Morais",
"license": "MIT",
"bugs": {
"url": "https://github.com/jcsmorais/shortcut-buttons-flatpickr/issues"
},
"homepage": "https://github.com/jcsmorais/shortcut-buttons-flatpickr#readme",
"devDependencies": {
"@types/expect.js": "^0.3.29",
"@types/express": "^4.17.6",
"@types/jsdom": "^16.2.3",
"@types/mocha": "^8.0.2",
"@types/node": "^14.0.27",
"@types/sinon": "^9.0.4",
"@types/stylus": "^0.48.33",
"@types/webpack": "^4.41.21",
"@wdio/cli": "^6.4.0",
"@wdio/local-runner": "^6.4.0",
"@wdio/mocha-framework": "^6.4.0",
"@wdio/spec-reporter": "^6.4.0",
"@wdio/sync": "^6.4.0",
"autoprefixer-stylus": "^1.0.0",
"chromedriver": "90.0.0",
"coveralls": "^3.1.0",
"css-loader": "3.6.0",
"expect.js": "^0.3.1",
"express": "^4.17.1",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"flatpickr": "4.6.3",
"forever": "^3.0.0",
"jsdom": "^16.4.0",
"jsdom-global": "^3.0.2",
"minimist": "^1.2.5",
"mocha": "^8.1.1",
"nyc": "^15.1.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"sinon": "^9.0.3",
"stylus": "^0.54.8",
"stylus-loader": "^3.0.2",
"ts-loader": "^8.0.2",
"ts-node": "^8.10.2",
"tslint": "^6.1.3",
"tslint-loader": "^3.6.0",
"typescript": "^3.9.7",
"wdio-chromedriver-service": "^6.0.4",
"webdriverio": "^6.4.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"yarn-run-all": "^3.1.1"
},
"dependencies": {},
"browserslist": [
"ie >= 9",
"last 2 versions",
"safari >= 7"
]
}