From b1b227e73f6bfc407003d87a161235c03990e74d Mon Sep 17 00:00:00 2001 From: Yusei Yamanaka Date: Tue, 31 Jan 2017 18:30:15 +0900 Subject: [PATCH] Auto-compile coffee on npm publish --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 96a38cc..bdbda68 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,9 @@ "author": "miyukki ", "main": "./lib/atem.js", "scripts": { - "test": "mocha test", - "build": "coffee -bc ./lib/atem.coffee", - "postinstall": "build" + "test": "./node_modules/.bin/cake test", + "build": "./node_modules/.bin/coffee -bc ./lib/atem.coffee", + "prepublish": "build" }, "dependencies": { "async": "^1.3.0",