Skip to content

Commit

Permalink
ensure that typings are generated
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Jul 6, 2020
1 parent b6f8596 commit 823957c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "y-quill",
"version": "0.1.2",
"description": "QuillJs bindings for Yjs",
"main": "./dist/y-quill.js",
"main": "./dist/y-quill.cjs",
"module": "./src/y-quill.js",
"types": "./dist/src/y-quill.d.ts",
"sideEffects": false,
Expand All @@ -16,7 +16,7 @@
"lint": "standard && tsc",
"watch": "rollup -wc",
"debug": "concurrently 'live-server --port=3443 --entry-file=test.html' 'npm run watch'",
"preversion": "npm run lint && npm run dist && npm run test"
"preversion": "npm run dist && npm run lint && npm run test && test -e ./dist/src/y-quill.d.ts && test -e ./dist/y-quill.cjs && test -e ./dist/y-quill.cjs.map"
},
"files": [
"dist/*",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default [{
input: './src/y-quill.js',
output: [{
name: 'yQuill',
file: 'dist/y-quill.js',
file: 'dist/y-quill.cjs',
format: 'cjs',
sourcemap: true,
paths: path => {
Expand Down

0 comments on commit 823957c

Please sign in to comment.