Skip to content

Commit 4795cf7

Browse files
authored
Updates package.json for publishing (#25)
1 parent 7b17322 commit 4795cf7

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
{
22
"name": "@bugsplat/stack-converter",
33
"version": "1.0.0",
4-
"main": "index.ts",
4+
"main": "./dist/index.js",
55
"bin": {
6-
"stack-converter": "bin/index.js"
6+
"stack-converter": "./dist/bin/index.js"
77
},
8+
"files": [
9+
"dist"
10+
],
811
"scripts": {
912
"test": "jest",
10-
"lint": "DEBUG=eslint:cli-engine yarn eslint . --ext .js,.jsx,.ts,.tsx --fix",
13+
"lint": "yarn eslint . --ext .js,.ts --fix",
1114
"cmd": "ts-node bin/index.ts",
12-
"build": "rm -rf ./dist && tsc && cp ./{package.json,README.md,LICENSE} ./dist",
13-
"release": "cd ./dist && npm publish --access public"
15+
"build": "rm -rf ./dist && tsc",
16+
"release": "npm run build && npm publish --access public"
1417
},
1518
"repository": {
1619
"type": "git",

0 commit comments

Comments
 (0)