diff --git a/package.json b/package.json index ef42dc9..ce94820 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,9 @@ "uglify-js": "^2.4.23", "zoom.js": "fat/zoom.js" }, + "napa": { + "underlinejs": "wentin/underlineJS" + }, "devDependencies": { "autoprefixer": "5.2.0", "bourbon": "4.2.3", @@ -42,6 +45,7 @@ "metalsmith-tags": "0.10.1", "metalsmith-templates": "0.7.0", "metalsmith-typogr": "0.1.0", + "napa": "1.2.0", "node-sass": "3.2.0", "nodemon": "1.3.7", "normalize-opentype.css": "0.2.4", @@ -53,7 +57,7 @@ }, "scripts": { "test": "echo \"Error: no test specified…yet! Pull requests on https://github.com/losttype/blog.losttype.com are greatly appreciated.\" && exit 1", - "postinstall": "cp ./node_modules/normalize.css/normalize.css ./node_modules/normalize.css/normalize.scss && cp ./node_modules/losttype-contributors/index.json ./src/authors.json", + "postinstall": "napa && cp ./node_modules/normalize.css/normalize.css ./node_modules/normalize.css/normalize.scss && cp ./node_modules/losttype-contributors/index.json ./src/authors.json", "build-html": "node_modules/metalsmith/bin/metalsmith", "build-css": "node-sass src/css/index.scss | autoprefixer > build/css/index.css", "build": "npm run build-html && npm run build-css",