Skip to content

Commit

Permalink
Test npm publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paluh committed Dec 6, 2018
1 parent 993d065 commit cc8c02d
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
14 changes: 14 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/bower_components/
/node_modules/
/.pulp-cache/
/.psci*
/src/.webpack.js
/.psc*
litps
/.psa*
literate
shell.nix
.travis.yml
.vimrc
gen
lib
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require('./output/Main').main();
22 changes: 16 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
{
"name": "literate-purescript",
"version": "0.1.0",
"description": "literate-style programming for purescript",
"name": "paluh-litps",
"version": "0.1.4",
"description": "Experimental publish of Thimoteus/literate-purescript.",
"main": "litps",
"bin": {
"paluh-litps": "index.js"
},
"directories": {
"test": "test",
"litps": "litps"
},
"scripts": {
"build": "pulp build --optimise --to litps",
"compile": "pulp build",
"prepack": "rimraf output && npm run compile",
"build": "npm run -s compile",
"start": "node index.js",
"test": "rm -rf test/ && npm run build && node litps --input litps/ --output test/ --i-ext litps",
"copybin": "npm run build && chmod +x litps && sed -i -e '1i#!/usr/bin/env node\\' litps && mv litps ~/bin/ && echo 'Success!'"
},
"repository": {
"type": "git",
"url": "http://www.github.com/Thimoteus/literate-purescript.git"
"url": "http://www.github.com/paluh/literate-purescript.git"
},
"keywords": [
"literate",
"purescript"
],
"author": "Thimoteus",
"license": "MIT",
"dependencies": {}
"dependencies": {},
"devDependencies": {
"pulp": "^12.3.0",
"rimraf": "^2.6.2"
}
}

0 comments on commit cc8c02d

Please sign in to comment.