Adding prepare & prepack npm statement (#67)
* Add prepare & prepack * Create .npmignore * remove node_modules, they might be needed
This commit is contained in:
2
.npmignore
Normal file
2
.npmignore
Normal file
@@ -0,0 +1,2 @@
|
||||
.vscode
|
||||
package-lock.json
|
||||
@@ -3,6 +3,8 @@
|
||||
"version": "1.0.7",
|
||||
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
|
||||
"scripts": {
|
||||
"prepare": "npm run prepack",
|
||||
"prepack": "npm run bundle",
|
||||
"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