-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to resolve Can Not Find File MJS error
- Loading branch information
Christopher Vachon
committed
Oct 7, 2022
1 parent
82c8f87
commit 7f0dea0
Showing
5 changed files
with
30 additions
and
14 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
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,6 +1,6 @@ | ||
{ | ||
"name": "@codevachon/classnames", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
"author": { | ||
"email": "[email protected]", | ||
|
@@ -9,12 +9,13 @@ | |
}, | ||
"scripts": { | ||
"test": "jest", | ||
"test:coverage": "jest --coverage", | ||
"clean": "rm -rf ./lib ./docs", | ||
"build": "npm run clean && npm run build:esm && npm run build:cjs", | ||
"build:esm": "tsc -p ./config/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs", | ||
"build:esm": "tsc -p ./config/tsconfig.esm.json && mv lib/esm/ClassNames.js lib/esm/ClassNames.mjs", | ||
"build:cjs": "tsc -p ./config/tsconfig.cjs.json", | ||
"prepack": "npm run build", | ||
"build:docs": "rm -fr docs && typedoc src/index.ts", | ||
"build:docs": "rm -fr docs && typedoc src/ClassNames.ts", | ||
"serve:docs": "http-server ./docs", | ||
"preinstall": "npx only-allow pnpm" | ||
}, | ||
|
@@ -26,28 +27,28 @@ | |
"type": "git", | ||
"url": "[email protected]:CodeVachon/classnames.git" | ||
}, | ||
"types": "./lib/cjs/types/index.d.ts", | ||
"main": "./lib/cjs/index.js", | ||
"types": "./lib/cjs/types/ClassNames.d.ts", | ||
"main": "./lib/cjs/ClassNames.js", | ||
"files": [ | ||
"lib/**/*" | ||
], | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./lib/esm/types/index.d.ts", | ||
"default": "./lib/esm/index.mjs" | ||
"types": "./lib/esm/types/ClassNames.d.ts", | ||
"default": "./lib/esm/ClassNames.mjs" | ||
}, | ||
"require": { | ||
"types": "./lib/cjs/types/index.d.ts", | ||
"default": "./lib/cjs/index.js" | ||
"types": "./lib/cjs/types/ClassNames.d.ts", | ||
"default": "./lib/cjs/ClassNames.js" | ||
} | ||
} | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"engines": { | ||
"node": ">=12" | ||
"node": ">=16" | ||
}, | ||
"keywords": [ | ||
"className" | ||
|
This file was deleted.
Oops, something went wrong.