Skip to content
This repository was archived by the owner on Aug 13, 2021. It is now read-only.

Commit 659e181

Browse files
[added] typescript:main
Summary: Canonizing material-motion/material-motion-js#142 Reviewers: #material_motion, O2 Material Motion, featherless Reviewed By: #material_motion, O2 Material Motion, featherless Tags: #material_motion Differential Revision: http://codereview.cc/D2476
1 parent 8d62ef2 commit 659e181

File tree

1 file changed

+2
-1
lines changed
  • generators/generator-mm-package/app/templates/typescript

1 file changed

+2
-1
lines changed

generators/generator-mm-package/app/templates/typescript/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"version": "0.0.0",
44
"description": "<%= description %>",
55
"main": "dist/index.js",
6-
"types": "src/index.ts",
6+
"types": "dist/index.d.ts",
7+
"typescript:main": "src/index.ts",
78
"scripts": {
89
"lint": "$( yarn bin )/tslint -c ../../tslint.json --project tsconfig.json",
910
"test": "node ../../tools/test.js --only <%= slug %>",

0 commit comments

Comments
 (0)