Skip to content

Commit 7e81adf

Browse files
authored
don't copy typescript defi
1 parent 376ae3f commit 7e81adf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44
"description": "Backports native emoji characters to browsers that don't support them by replacing the characters with fallback images.",
55
"main": "dist/index.umd.js",
66
"module": "dist/index.esm.js",
7-
"types": "dist/index.d.ts",
7+
"types": "index.d.ts",
88
"license": "MIT",
99
"repository": "github/g-emoji-element",
1010
"files": [
11-
"dist"
11+
"dist",
12+
"index.d.ts"
1213
],
1314
"scripts": {
1415
"clean": "rm -rf dist",
1516
"lint": "github-lint",
1617
"prebuild": "npm run clean && npm run lint && mkdir dist",
17-
"build": "rollup -c && cp index.js.flow dist/index.esm.js.flow && cp index.js.flow dist/index.umd.js.flow && cp index.d.ts dist/index.d.ts",
18+
"build": "rollup -c && cp index.js.flow dist/index.esm.js.flow && cp index.js.flow dist/index.umd.js.flow",
1819
"pretest": "npm run build",
1920
"test": "karma start test/karma.config.js",
2021
"prepublishOnly": "npm run build"

0 commit comments

Comments
 (0)