diff --git a/.gitignore b/.gitignore index 54ee17a..039eeb7 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,8 @@ /coverage/ *.gem .byebug_history +# npm package artifacts. `src/` is generated by `npm run prepublishOnly` +# (copy of app/assets/stylesheets/*.css), only present during publish. +/src/ +/node_modules/ +package-lock.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..abb19aa --- /dev/null +++ b/package.json @@ -0,0 +1,29 @@ +{ + "name": "@activeadmin-plugins/activeadmin_calendar", + "version": "1.0.0", + "description": "Calendar index style for ActiveAdmin — CSS for the gem of the same name.", + "style": "src/activeadmin_calendar.css", + "main": "src/activeadmin_calendar.css", + "author": "Igor Fedoronchuk ", + "license": "MIT", + "private": false, + "repository": { + "type": "git", + "url": "git+https://github.com/activeadmin-plugins/activeadmin_calendar.git" + }, + "bugs": { + "url": "https://github.com/activeadmin-plugins/activeadmin_calendar/issues" + }, + "homepage": "https://github.com/activeadmin-plugins/activeadmin_calendar#readme", + "keywords": [ + "active", + "admin", + "calendar" + ], + "files": [ + "src/**/*" + ], + "scripts": { + "prepublishOnly": "rm -rf src && mkdir -p src && cp app/assets/stylesheets/activeadmin_calendar.css src/" + } +}