Skip to content

Commit dc1f7e7

Browse files
authored
move compute.ts to separate package (#330)
fix(compute): extract compute.ts to new package (compute-scroll-into-view)
1 parent b337645 commit dc1f7e7

File tree

5 files changed

+8
-457
lines changed

5 files changed

+8
-457
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ lerna-debug.log
1818
dist
1919
es
2020
umd
21-
/compute.js
2221
/index.js
2322
/types.js

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"main": "index.js",
1313
"module": "es/index.js",
1414
"files": [
15-
"compute.js",
1615
"es",
1716
"typings",
1817
"umd"
@@ -32,6 +31,9 @@
3231
"prepublishOnly": "unset npm_config_cafile && yarn build",
3332
"typecheck": "tsc --noEmit && tsc --noEmit -p tests/typescript"
3433
},
34+
"dependencies": {
35+
"compute-scroll-into-view": "1.0.2"
36+
},
3537
"devDependencies": {
3638
"@babel/cli": "7.0.0-beta.51",
3739
"@babel/core": "7.0.0-beta.51",

0 commit comments

Comments
 (0)