mirror of
https://github.com/dzeiocom/libs.git
synced 2025-06-15 03:59:21 +00:00
Add modules (#41)
* Added modules for object-utils + moved from parcel to esbuild Signed-off-by: Avior <github@avior.me> * Moved url-manager Signed-off-by: Avior <github@avior.me> * Fixed codacy error Signed-off-by: Avior <github@avior.me>
This commit is contained in:
@ -10,7 +10,8 @@
|
||||
"homepage": "https://github.com/dzeiocom/libs/tree/master/packages/url-manager#readme",
|
||||
"author": "Aviortheking",
|
||||
"license": "MIT",
|
||||
"main": "./dist/URLManager.js",
|
||||
"main": "./dist/cjs/URLManager.js",
|
||||
"module": "./dist/esm/URLManager.js",
|
||||
"types": "./dist/URLManager.d.ts",
|
||||
"keywords": [
|
||||
"url",
|
||||
@ -23,15 +24,18 @@
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.2.12",
|
||||
"@types/jest": "^26.0.10",
|
||||
"esbuild": "^0.13.2",
|
||||
"jest": "^26.4.2",
|
||||
"parcel": "1.12.3",
|
||||
"ts-jest": "^26.4.4",
|
||||
"ts-node": "^10.2.1",
|
||||
"typescript": "^4.0.2"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublishOnly": "yarn build",
|
||||
"build": "parcel build src/index.ts --out-file browser.js --experimental-scope-hoisting && tsc",
|
||||
"build": "esbuild src/index.ts --bundle --outfile=dist/browser.js --minify --target=es6 && tsc && tsc --project tsconfig.esm.json",
|
||||
"test": "jest --coverage"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dzeio/object-util": "^1.4.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user