Skip to content

Commit 8f38c7e

Browse files
[added] typescript:main to package.json
Summary: Closes #142 Reviewers: #material_motion, O2 Material Motion, featherless Reviewed By: #material_motion, O2 Material Motion, featherless Tags: #material_motion Differential Revision: http://codereview.cc/D2471
1 parent 0c33a02 commit 8f38c7e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packages/springs-adaptor-rebound/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": "Creates Material Motion springs powered by Rebound",
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 springs-adaptor-rebound",

packages/streams/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": "A stream-powered implementation of Material Motion",
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": "../../node_modules/.bin/tslint -c ../../tslint.json --project tsconfig.json",
910
"clean": "rm -rf ./dist/*; mkdir -p ./dist/",

packages/testing-utils/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": "Utilities for testing the Material Motion framework",
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
"clean": "rm -rf ./dist/*; mkdir -p ./dist/",
910
"build": "yarn run clean; ../../node_modules/.bin/tsc"

0 commit comments

Comments
 (0)