fixed name
This commit is contained in:
parent
c1af19d441
commit
089b89b578
14
package.json
14
package.json
@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "@ztimson/utilities",
|
"name": "@ztimson/js-utilities",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"description": "Utility library",
|
"description": "JavaScript Utility library",
|
||||||
"author": "Zak Timson",
|
"author": "Zak Timson",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.zakscode.com/ztimson/utlities"
|
"url": "https://git.zakscode.com/ztimson/js-utilities"
|
||||||
},
|
},
|
||||||
"main": "./dist/utilities.js",
|
"main": "./dist/js-utilities.js",
|
||||||
"module": "./dist/utilities.mjs",
|
"module": "./dist/js-utilities.mjs",
|
||||||
"types": "./dist/src/index.d.ts",
|
"types": "./dist/src/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
@ -23,8 +23,8 @@
|
|||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"import": "./dist/utilites.mjs",
|
"import": "./dist/js-utilities.mjs",
|
||||||
"require": "./dist/utilities.js"
|
"require": "./dist/js-utilities.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -6,10 +6,10 @@ export default defineConfig({
|
|||||||
build: {
|
build: {
|
||||||
lib: {
|
lib: {
|
||||||
entry: resolve(process.cwd(), 'src/index.ts'),
|
entry: resolve(process.cwd(), 'src/index.ts'),
|
||||||
name: 'momentum',
|
name: 'js-utilities',
|
||||||
fileName: (module, entryName) => {
|
fileName: (module, entryName) => {
|
||||||
if(module == 'es') return 'utilities.mjs';
|
if(module == 'es') return 'js-utilities.mjs';
|
||||||
if(module == 'umd') return 'utilities.js';
|
if(module == 'umd') return 'js-utilities.js';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user