diff --git a/package.json b/package.json new file mode 100644 index 000000000..a13577970 --- /dev/null +++ b/package.json @@ -0,0 +1,4 @@ +{ "name": "sinopia", + "dependencies": {"js-yaml": "*"}, + "scripts": {"install": "js-yaml package.yaml > package.json ; npm install --production"} +} diff --git a/package.yaml b/package.yaml index 5f407d149..182ddfa85 100644 --- a/package.yaml +++ b/package.yaml @@ -56,6 +56,7 @@ keywords: scripts: test: mocha ./test/functional ./test/unit lint: eslint -c ./.eslint.yaml ./lib + build: js-yaml package.yaml > package.json # we depend on streams2 stuff # it can be replaced with isaacs/readable-stream, ask if you need to use 0.8