Skip to content

Commit 4f60823

Browse files
committed
Add typings.
1 parent 3a41102 commit 4f60823

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cjs
22
esm
33
esnext
44
umd
5-
typing
5+
typings
66
dist
77
node_modules
88
doc

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
"esm/",
1010
"esnext/"
1111
],
12-
"typings": "typing/index.d.ts",
12+
"typings": "typings/index.d.ts",
1313
"scripts": {
1414
"type-check": "tsc -p ./src --noEmit",
1515
"type-check:watch": "npm run type-check -- --watch",
1616
"build": "npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:types",
17-
"build:types": "tsc -p ./src --emitDeclarationOnly --outDir typing",
17+
"build:types": "tsc -p ./src --emitDeclarationOnly --outDir typings",
1818
"build:cjs": "BABEL_ENV=cjs babel ./src --out-dir cjs --extensions \".ts,.tsx\" --source-maps inline --delete-dir-on-start --verbose",
1919
"build:watch:esm": "BABEL_ENV=esmdev babel ./src --out-dir esm --extensions \"*.ts,.tsx\" --source-maps true --copy-files --delete-dir-on-start --verbose",
2020
"build:esm": "BABEL_ENV=esm babel ./src --out-dir esm --extensions \"*.ts,.tsx\" --source-maps true --delete-dir-on-start --verbose",

0 commit comments

Comments
 (0)