update the bundle config

This commit is contained in:
Yanzhen Yu
2018-10-11 16:44:38 +08:00
parent d59ba817cb
commit b3fdc44fc7
3 changed files with 23 additions and 7 deletions

View File

@@ -1,11 +1,12 @@
{
"name": "rrweb-snapshot",
"version": "0.2.0",
"version": "0.3.0",
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
"main": "index.js",
"main": "dist/index.js",
"module": "dist/module.js",
"scripts": {
"test": "TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.ts",
"compile": "rollup --config"
"bundle": "rollup --config"
},
"repository": {
"type": "git",
@@ -16,6 +17,9 @@
"snapshot",
"DOM"
],
"files": [
"dist"
],
"author": "yanzhen@smartx.com",
"license": "MIT",
"bugs": {