Skip to content

Commit 203058b

Browse files
committed
fix: export default transformer
1 parent 78a675a commit 203058b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "ts-transformer-optimize-const-enum",
33
"version": "0.0.1",
44
"description": "A TypeScript transformer that optimize exported const enum into object literal",
5-
"main": "dist/cjs/index.js",
6-
"module": "dist/ejs/index.js",
7-
"types": "dist/cjs/index.d.ts",
5+
"main": "dist/cjs/transform.js",
6+
"module": "dist/ejs/transform.js",
7+
"types": "dist/cjs/transform.d.ts",
88
"repository": "[email protected]:Fonger/ts-transformer-optimize-const-enum.git",
99
"author": "Fonger <[email protected]>",
1010
"license": "MIT",
@@ -18,7 +18,7 @@
1818
"ttypescript"
1919
],
2020
"scripts": {
21-
"build": "rm -rf dist && yarn build:cjs && yarn build:ejs",
21+
"build": "rm -rf dist && npm run build:cjs && npm run build:ejs",
2222
"build:cjs": "tsc --outDir dist/cjs --declaration",
2323
"build:ejs": "tsc --outDir dist/ejs --module es6"
2424
},

src/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)