Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .lmd/dist.lmd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"root": "../",
"name": "js-must dist for browser",
"modules": {
"exporter": "./lib/exporter.js",

"index": "index.js",
"../index": "@index",

"kindof": "node_modules/kindof/kindof.js",

"./lib/assertion_error": "./lib/assertion_error.js",
"./assertion_error": "@./lib/assertion_error",

"./lib/assertions": "./lib/assertions.js",
"./assertions": "@./lib/assertions",

"./lib/inspect": "./lib/inspect.js",
"./inspect": "@./lib/inspect"
},
"main": "exporter",
"output": "dist/js-must.js",
"shortcuts": true
}
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ love:
test:
@node $(NODE_OPTS) ./node_modules/.bin/mocha -R dot $(TEST_OPTS)

spec:
spec:
@node $(NODE_OPTS) ./node_modules/.bin/mocha -R spec $(TEST_OPTS)

autotest:
Expand All @@ -19,6 +19,10 @@ autospec:
pack:
npm pack

dist:
@mkdir dist
@node ./node_modules/.bin/lmd build dist

publish:
npm publish

Expand Down Expand Up @@ -47,6 +51,7 @@ doc.json:
@yuidoc --exclude test,node_modules --parse-only --outdir tmp/doc .

clean:
rm -rf dist
rm -rf tmp *.tgz

tag:
Expand All @@ -55,5 +60,6 @@ tag:
.PHONY: love
.PHONY: test spec autotest autospec
.PHONY: pack publish clean
.PHONY: dist
.PHONY: doc toc doc.json
.PHONY: tag
Loading