| 1 | { |
| 2 | "name": "weekstart", |
| 3 | "version": "2.0.0", |
| 4 | "description": "Library to get first day of week.", |
| 5 | "homepage": "https://github.com/gamtiq/weekstart", |
| 6 | "main": "dist/commonjs/main.js", |
| 7 | "module": "dist/es-module/main.js", |
| 8 | "umd:main": "dist/main.js", |
| 9 | "files": [ |
| 10 | "dist", |
| 11 | "full.js", |
| 12 | "full.d.ts", |
| 13 | "index.d.ts", |
| 14 | "src", |
| 15 | "History.md" |
| 16 | ], |
| 17 | "keywords": [ |
| 18 | "week", |
| 19 | "start", |
| 20 | "first", |
| 21 | "day", |
| 22 | "locale", |
| 23 | "country", |
| 24 | "region" |
| 25 | ], |
| 26 | "devDependencies": { |
| 27 | "@babel/preset-env": "^7.20.2", |
| 28 | "eslint": "^8.34.0", |
| 29 | "eslint-config-guard": "^3.0.0", |
| 30 | "ink-docstrap": "1.3.2", |
| 31 | "jest": "^29.4.3", |
| 32 | "jsdoc": "^3.6.11", |
| 33 | "jsdoc-file": "^1.1.0", |
| 34 | "microbundle": "0.4.4", |
| 35 | "version-bump-prompt": "^6.1.0" |
| 36 | }, |
| 37 | "scripts": { |
| 38 | "lint": "eslint --cache --max-warnings 0 \"**/*.js\"", |
| 39 | "lint-error": "eslint --cache \"**/*.js\"", |
| 40 | "lint-all": "eslint --max-warnings 0 \"**/*.js\"", |
| 41 | "lint-all-error": "eslint \"**/*.js\"", |
| 42 | "test": "jest", |
| 43 | "check": "npm run lint && npm test", |
| 44 | "check-all": "npm run lint-all && npm test", |
| 45 | "doc": "jsdoc -c jsdoc-conf.js", |
| 46 | "build-commonjs": "microbundle build \"src/!(*.test).js\" --output dist/commonjs --format cjs --strict --no-compress", |
| 47 | "build-esm": "microbundle build \"src/!(*.test).js\" --output dist/es-module --format es --no-compress", |
| 48 | "build-umd": "microbundle build src/main.js src/full.js --output dist --format umd --strict --no-compress", |
| 49 | "build-umd-min": "microbundle build src/main.js src/full.js --output dist/min --format umd --strict", |
| 50 | "build": "npm run build-umd && npm run build-commonjs && npm run build-esm && npm run build-umd-min", |
| 51 | "all": "npm run check-all && npm run doc && npm run build", |
| 52 | "release": "bump patch --commit --tag --all --push package.json package-lock.json bower.json component.json", |
| 53 | "release-minor": "bump minor --commit --tag --all --push package.json package-lock.json bower.json component.json", |
| 54 | "release-major": "bump major --commit --tag --all --push package.json package-lock.json bower.json component.json" |
| 55 | }, |
| 56 | "author": { |
| 57 | "name": "Denis Sikuler" |
| 58 | }, |
| 59 | "repository": { |
| 60 | "type": "git", |
| 61 | "url": "git://github.com/gamtiq/weekstart.git" |
| 62 | }, |
| 63 | "bugs": { |
| 64 | "url": "https://github.com/gamtiq/weekstart/issues" |
| 65 | }, |
| 66 | "license": "MIT", |
| 67 | "types": "./index.d.ts" |
| 68 | } |