Skip to content

Commit 04c15e3

Browse files
add build task
1 parent 5c1814e commit 04c15e3

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.npmignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.assets
2+
.github
3+
coverage
4+
src
5+
tests
6+
7+
/*.js
8+
*.editorconfig
9+
*.gitignore
10+
*.eslintignore

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"description": "A Node.js library that provides Chrome DevTools trace models to parse arbitrary trace logs.",
55
"main": "./build/index.js",
66
"scripts": {
7+
"build": "run-s clean compile",
8+
"clean": "rm -rf build coverage",
9+
"compile": "NODE_ENV=production tsc",
710
"prepublishOnly": "npm prune && run-s build",
811
"release": "npm run release:patch",
912
"release:patch": "np patch",

0 commit comments

Comments
 (0)