Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 548 Bytes

cljs-npm-deployment.md

File metadata and controls

28 lines (25 loc) · 548 Bytes
  1. create a package.json, e.g:
{
  "name": "hiccup-template",
  "version": "0.1.2",
  "description": "minimal templating engine using EDN",
  "author": "Dmitri Sotnokov",
  "homepage": "https://github.com/yogthos/hiccup-template",
  "license": "EPL-1.0",
  "directories": {
    "lib": "src"
  },
  "files": [
    "src/*"
  ],
  "keywords": [
    "cljs",
    "EDN",
    "hiccup",
    "template"
  ]
}
  1. make sure that directory structure follows namespace structure, and use _ in filenames

  2. run npm pack && npm publish