add typings script to prepack
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
|
||||
"scripts": {
|
||||
"prepare": "npm run prepack",
|
||||
"prepack": "npm run bundle",
|
||||
"prepack": "npm run bundle && npm run typings",
|
||||
"test": "cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.ts",
|
||||
"bundle": "rollup --config",
|
||||
"typings": "tsc -d --declarationDir typings"
|
||||
|
||||
Reference in New Issue
Block a user