From 0bedf5a4e50b45c7bc9f6dde6ffb2d2daa8a546b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stalder?= Date: Fri, 1 May 2015 16:59:54 +0200 Subject: [PATCH 1/2] add npm package.json A lot is moving towards npm, away from bower. Even in our projects, normalize.styl seems the last bower package we cannot consume via NPM. I would like to change that. --- package.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..dcc67db --- /dev/null +++ b/package.json @@ -0,0 +1,21 @@ +{ + "name": "normalize.styl", + "version": "3.0.3", + "description": "Stylus version of normalize.css", + "main": "normalize.styl", + "repository": { + "type": "git", + "url": "https://github.com/bymathias/normalize.styl.git" + }, + "keywords": [ + "normalize", + "css", + "stylus" + ], + "author": ["Nicolas Gallagher", "Mathias Brouilly"], + "license": "MIT", + "bugs": { + "url": "https://github.com/bymathias/normalize.styl/issues" + }, + "homepage": "https://github.com/bymathias/normalize.styl" +} From 4dabc519c415398e71fa710a86d9a1affec77a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stalder?= Date: Fri, 1 May 2015 17:56:52 +0200 Subject: [PATCH 2/2] add indexer file for direct references Makes it possible to reference just the bower or npm folder, e.g. `@require 'bower_components/normalize.styl'` instead of `@require 'bower_components/normalize.styl/normalize'`. --- index.styl | 1 + 1 file changed, 1 insertion(+) create mode 100644 index.styl diff --git a/index.styl b/index.styl new file mode 100644 index 0000000..582bbc5 --- /dev/null +++ b/index.styl @@ -0,0 +1 @@ +@require 'normalize';