UNPKG

weekstart

Version:

Library to get first day of week.

69 lines (68 loc) 2.38 kB
{ "name": "weekstart", "version": "2.0.0", "description": "Library to get first day of week.", "homepage": "https://github.com/gamtiq/weekstart", "main": "dist/commonjs/main.js", "module": "dist/es-module/main.js", "umd:main": "dist/main.js", "files": [ "dist", "full.js", "full.d.ts", "index.d.ts", "src", "History.md" ], "keywords": [ "week", "start", "first", "day", "locale", "country", "region" ], "devDependencies": { "@babel/preset-env": "^7.20.2", "eslint": "^8.34.0", "eslint-config-guard": "^3.0.0", "ink-docstrap": "1.3.2", "jest": "^29.4.3", "jsdoc": "^3.6.11", "jsdoc-file": "^1.1.0", "microbundle": "0.4.4", "version-bump-prompt": "^6.1.0" }, "scripts": { "lint": "eslint --cache --max-warnings 0 \"**/*.js\"", "lint-error": "eslint --cache \"**/*.js\"", "lint-all": "eslint --max-warnings 0 \"**/*.js\"", "lint-all-error": "eslint \"**/*.js\"", "test": "jest", "check": "npm run lint && npm test", "check-all": "npm run lint-all && npm test", "doc": "jsdoc -c jsdoc-conf.js", "build-commonjs": "microbundle build \"src/!(*.test).js\" --output dist/commonjs --format cjs --strict --no-compress", "build-esm": "microbundle build \"src/!(*.test).js\" --output dist/es-module --format es --no-compress", "build-umd": "microbundle build src/main.js src/full.js --output dist --format umd --strict --no-compress", "build-umd-min": "microbundle build src/main.js src/full.js --output dist/min --format umd --strict", "build": "npm run build-umd && npm run build-commonjs && npm run build-esm && npm run build-umd-min", "all": "npm run check-all && npm run doc && npm run build", "release": "bump patch --commit --tag --all --push package.json package-lock.json bower.json component.json", "release-minor": "bump minor --commit --tag --all --push package.json package-lock.json bower.json component.json", "release-major": "bump major --commit --tag --all --push package.json package-lock.json bower.json component.json" }, "author": { "name": "Denis Sikuler" }, "repository": { "type": "git", "url": "git://github.com/gamtiq/weekstart.git" }, "bugs": { "url": "https://github.com/gamtiq/weekstart/issues" }, "license": "MIT", "types": "./index.d.ts" }