Skip to content

Commit

Permalink
Merge pull request #45 from snyk/fix/build-before-publish
Browse files Browse the repository at this point in the history
fix: build from typescript before publish
  • Loading branch information
Mila Votradovec authored Jan 29, 2021
2 parents 5db859c + 8e6bcf5 commit a52d531
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,21 @@
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"files": ["dist"],
"scripts": {
"build": "tsc",
"compile": "tsc -p ./",
"lint": "npx eslint src/**/*.ts",
"lint:fix": "npx eslint --fix src/**/*.ts",
"prepare": "npm run build",
"watch": "tsc -watch -p ./",
"test": "jest --coverage --runInBand --detectOpenHandles"
},
"repository": {
"type": "git",
"url": "git+https://github.com/snyk/code-client.git"
},
"keywords": [
"snyk",
"api client"
],
"keywords": ["snyk", "api client"],
"author": "snyk",
"license": "MIT",
"bugs": {
Expand Down

0 comments on commit a52d531

Please sign in to comment.