Skip to content
Snippets Groups Projects
Commit ed7b66ab authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Add scripts command to publish

parent 3e0d036e
No related branches found
No related tags found
No related merge requests found
...@@ -2,16 +2,33 @@ ...@@ -2,16 +2,33 @@
"name": "bioviz-js", "name": "bioviz-js",
"version": "0.1.0", "version": "0.1.0",
"description": "Library to visualize biological data", "description": "Library to visualize biological data",
"main": "src/scripts/index.js", "main": "./lib/index.js",
"repository": "git@gitlab.pasteur.fr:rplanel/bioviz-js.git", "repository": "git@gitlab.pasteur.fr:rplanel/bioviz-js.git",
"author": "Remi Planel <rplanel@pasteur.fr>", "author": "Remi Planel <rplanel@pasteur.fr>",
"license": "MIT", "license": "MIT",
"types": "./lib/index.d.ts",
"files": [
"lib/**/*"
],
"keywords": [
"D3",
"bioinformatics",
"dataviz",
"visualization"
],
"scripts": { "scripts": {
"prepare": "npm run compile",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"dev": "parcel src/scripts/index.ts", "dev": "parcel src/scripts/index.ts",
"start": "parcel src/index.html", "start": "parcel src/index.html",
"watch": "parcel watch ./src/index.html", "watch": "parcel watch ./src/index.html",
"build": "parcel build ./src/index.html", "build": "parcel build ./src/index.html",
"compile": "tsc" "compile": "tsc",
"lint": "tslint -p tsconfig.json",
"test": "echo \"No test specified, not cool :(\" && exit 0"
}, },
"devDependencies": { "devDependencies": {
"rxjs-tslint": "^0.1.7", "rxjs-tslint": "^0.1.7",
...@@ -31,4 +48,4 @@ ...@@ -31,4 +48,4 @@
"rxjs": "^6.4.0", "rxjs": "^6.4.0",
"tslint": "^5.15.0" "tslint": "^5.15.0"
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment