-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 5.32 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 5.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "@devlander/utils",
"description": "Comprehensive JavaScript and TypeScript utilities for seamless development. Includes object manipulation, data validation, and more.",
"version": "1.0.8",
"browser": "dist/umd/index.js",
"main": "dist/cjs/index.js",
"types": "typings/index.d.ts",
"module": "dist/esm/index.js",
"type": "commonjs",
"scripts": {
"prebuild": "npm cache clean --force",
"build:index": "node ./external-modules/auto-export.js",
"increment-version": "yarn version patch",
"build:esm": "tsc",
"test": "jest --coverage && yarn test:examples",
"test:failures": "jest --onlyFailures",
"test:examples": "bash scripts/test-examples.sh",
"prepublishOnly": "yarn test && yarn test:examples && yarn docs",
"format": "prettier --write 'src/**/*.ts'",
"docs": "typedoc --out ./docs ./src",
"lint": "eslint ./src --ext .ts --fix && yarn run format && yarn run typecheck",
"typecheck": "tsc --project tsconfig.check.json",
"build": "npx rimraf ./dist && npx rimraf ./typings && yarn run build:index && yarn build:esm && yarn build:umd",
"build:umd": "rollup -c",
"timeout": "delay 5",
"push-main": "git add -A && yarn run timeout && git commit -m 'updated build' && yarn run timeout && git push origin main",
"start-publish": "yarn run lint && yarn run build && npm publish",
"prepare": "yarn run build",
"commit": "cz",
"changelog": "npx conventional-changelog -p conventionalcommits -i CHANGELOG.md -s -r 0",
"release": "npm run changelog && git add CHANGELOG.md && git commit -m 'docs: update changelog' && npm version patch && git push --follow-tags",
"release:patch": "npm version patch && git push --follow-tags",
"release:minor": "npm version minor && git push --follow-tags",
"release:major": "npm version major && git push --follow-tags",
"release:patch:check": "npm version patch && npm run check-version-exists && git push --follow-tags",
"release:minor:check": "npm version minor && npm run check-version-exists && git push --follow-tags",
"release:major:check": "npm version major && npm run check-version-exists && git push --follow-tags",
"check-version-exists": "node -e \"const pkg=require('./package.json'); const {execSync}=require('child_process'); try{execSync('npm view @devlander/utils@'+pkg.version+' version',{stdio:'ignore'}); console.log('⚠️ Version '+pkg.version+' already exists on npm!'); process.exit(1);}catch(e){console.log('✅ Version '+pkg.version+' is new and ready to publish');}\""
},
"packageManager": "yarn@3.6.3",
"repository": {
"type": "git",
"url": "git+https://github.com/Devlander-Software/utils.git"
},
"keywords": [
"JavaScript",
"TypeScript",
"utilities",
"object manipulation",
"data validation",
"development tools",
"devlander",
"common utilities",
"helper functions",
"utility library",
"code reuse",
"developer tools",
"npm package",
"coding utilities"
],
"author": "Landon Johnson",
"license": "ISC",
"bugs": {
"url": "https://github.com/Devlander-Software/utils/issues"
},
"homepage": "https://github.com/Devlander-Software/utils#readme",
"files": [
"dist",
"typings",
"docs"
],
"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.23.0",
"@babel/plugin-transform-class-properties": "^7.22.5",
"@babel/plugin-transform-object-rest-spread": "^7.22.15",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.22.15",
"@devlander/collect-exports-for-bundle": "^1.1.68",
"@devlander/typedoc-theme": "^0.1.0",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-auto-install": "^3.0.4",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-typescript": "^11.1.3",
"@types/jest": "^29.5.6",
"@types/jsdom-global": "^3.0.7",
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"babel-jest": "^29.7.0",
"commitizen": "^4.3.1",
"conventional-changelog-cli": "^5.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-testing-library": "^6.1.0",
"eslint-plugin-tsdoc": "^0.3.0",
"eslint-plugin-unused-imports": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom-global": "^3.0.2",
"picocolors": "^1.0.0",
"prettier": "^3.0.3",
"rollup": "^3.29.1",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-terser": "^7.0.2",
"standard-version": "^9.5.0",
"tslib": "^2.6.2",
"typedoc": "^0.25.8",
"typescript": "5.3.3"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"@devlander/utils": "^0.0.3"
}
}