UNPKG

calendar-utils

Version:

Utility functions to generate views for calendars

97 lines 2.82 kB
{ "name": "calendar-utils", "version": "0.11.0", "description": "Utility functions to generate views for calendars", "main": "bundles/calendar-utils.umd.js", "module": "calendar-utils.js", "typings": "calendar-utils.d.ts", "lint-staged": { "{src,test}/**/*.ts": [ "prettier --write", "eslint --fix" ] }, "repository": { "type": "git", "url": "git+https://github.com/mattlewis92/calendar-utils.git" }, "keywords": [ "calendar", "utilities" ], "author": "Matt Lewis", "license": "MIT", "bugs": { "url": "https://github.com/mattlewis92/calendar-utils/issues" }, "homepage": "https://github.com/mattlewis92/calendar-utils#readme", "devDependencies": { "@sinonjs/fake-timers": "^9.1.2", "@types/chai": "^4.3.1", "@types/jest": "^28.1.6", "@types/node": "^18.6.3", "@typescript-eslint/eslint-plugin": "^5.32.0", "@typescript-eslint/parser": "^5.32.0", "chai": "^4.3.6", "copyfiles": "^2.4.1", "date-fns": "^2.29.1", "dayjs": "^1.11.4", "eslint": "^8.21.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-jest": "^26.7.0", "husky": "^8.0.0", "jest": "^28.1.3", "lint-staged": "^13.0.3", "luxon": "^3.5.0", "moment": "^2.29.4", "prettier": "^2.7.1", "timezone-mock": "^1.3.4", "ts-jest": "^28.0.7", "ts-loader": "^9.3.1", "ts-node": "^10.9.1", "typescript": "^4.7.4", "webpack": "^5.74.0", "webpack-cli": "^4.10.0" }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "coverageThreshold": { "global": { "branches": 99, "functions": 100, "lines": 100, "statements": 100 } }, "modulePathIgnorePatterns": [ "<rootDir>/dist/" ] }, "scripts": { "test": "jest", "test:watch": "jest --watch", "test:ci": "jest --runInBand --coverage && pnpm lint && pnpm build", "test:coverage": "jest --coverage", "start": "pnpm test:watch", "build:umd": "webpack", "build:esm": "tsc --module es2015", "build:date-adapters": "tsc -p tsconfig-date-adapters.json && tsc -p tsconfig-date-adapters.json --module es2015 --outDir dist/date-adapters/esm", "copyfiles": "copyfiles README.md LICENSE package.json dist && copyfiles -u 1 src/date-adapters/**/package.json dist", "build": "pnpm clean && pnpm build:umd && pnpm build:esm && pnpm build:date-adapters && pnpm copyfiles", "clean": "rm -rf dist", "preversion": "jest", "postversion": "pnpm build && git push && pnpm publish dist && pnpm clean", "lint": "eslint \"{src,test}/**/*.ts\"" } }