-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
63 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
{ | ||
"name": "@alwatr/flat-string", | ||
"version": "1.0.0", | ||
"description": "The `flat-string` function Flattens the underlying C structures of a concatenated JavaScript string.", | ||
"description": "The `flat-string` function flattens the underlying C structures of a concatenated JavaScript string.", | ||
"author": "S. Ali Mihandoost <[email protected]>", | ||
"keywords": [ | ||
"string", | ||
"flat", | ||
"flatten", | ||
"optimize", | ||
"concat", | ||
"concatenation", | ||
"util", | ||
"typescript", | ||
"esm", | ||
"alwatr" | ||
], | ||
"main": "main.js", | ||
"type": "module", | ||
"types": "main.d.ts", | ||
"author": "S. Ali Mihandoost <[email protected]>", | ||
"main": "./dist/main.cjs", | ||
"module": "./dist/main.mjs", | ||
"types": "./dist/main.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/main.mjs", | ||
"require": "./dist/main.cjs", | ||
"types": "./dist/main.d.ts" | ||
} | ||
}, | ||
"license": "MIT", | ||
"files": [ | ||
"**/*.{d.ts.map,d.ts,js.map,js,html,md}" | ||
|
@@ -38,29 +46,17 @@ | |
"w": "yarn run watch", | ||
"c": "yarn run clean", | ||
"cb": "yarn run clean && yarn run build", | ||
"d": "yarn run build && ALWATR_DEBUG=1 yarn node", | ||
"d": "yarn run build:es && ALWATR_DEBUG=1 yarn node", | ||
"build": "yarn run build:ts & yarn run build:es", | ||
"build:es": "yarn node ./esbuild.mjs", | ||
"build:es": "echo underdevelopment", | ||
"build:ts": "tsc --build", | ||
"watch": "run-p -l 'watch:*'", | ||
"watch": "yarn run watch:ts & yarn run watch:es", | ||
"watch:es": "yarn run build:es --watch", | ||
"watch:ts": "yarn run build:ts --watch --preserveWatchOutput", | ||
"clean": "rm -rfv *.js *.d.ts *.d.ts.map *.js.map .tsbuildinfo" | ||
"clean": "rm -rfv dist .tsbuildinfo" | ||
}, | ||
"devDependencies": { | ||
"@alwatr/tsconfig-base": "workspace:^", | ||
"typescript": "^5.3.3" | ||
}, | ||
"tsconfig": { | ||
"extends": "@alwatr/tsconfig-base", | ||
"compilerOptions": { | ||
"composite": true, | ||
"tsBuildInfoFile": ".tsbuildinfo", | ||
"rootDir": "src", | ||
"outDir": "." | ||
}, | ||
"include": [ | ||
"src/**/*.ts" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"extends": "@alwatr/tsconfig-base", | ||
"compilerOptions": { | ||
"rootDir": "src", | ||
"outDir": "dist", | ||
"emitDeclarationOnly": true, | ||
"composite": true, | ||
"tsBuildInfoFile": ".tsbuildinfo" | ||
}, | ||
"include": ["src/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.