Skip to content

Commit b74d4ce

Browse files
authored
Merge pull request #2 from activeadmin-plugins/feat/npm-package
feat: ship npm twin (@activeadmin-plugins/activeadmin_calendar)
2 parents 890e7bf + 9feeffe commit b74d4ce

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@
1818
/coverage/
1919
*.gem
2020
.byebug_history
21+
# npm package artifacts. `src/` is generated by `npm run prepublishOnly`
22+
# (copy of app/assets/stylesheets/*.css), only present during publish.
23+
/src/
24+
/node_modules/
25+
package-lock.json

package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "@activeadmin-plugins/activeadmin_calendar",
3+
"version": "1.0.0",
4+
"description": "Calendar index style for ActiveAdmin — CSS for the gem of the same name.",
5+
"style": "src/activeadmin_calendar.css",
6+
"main": "src/activeadmin_calendar.css",
7+
"author": "Igor Fedoronchuk <fedoronchuk@gmail.com>",
8+
"license": "MIT",
9+
"private": false,
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/activeadmin-plugins/activeadmin_calendar.git"
13+
},
14+
"bugs": {
15+
"url": "https://github.com/activeadmin-plugins/activeadmin_calendar/issues"
16+
},
17+
"homepage": "https://github.com/activeadmin-plugins/activeadmin_calendar#readme",
18+
"keywords": [
19+
"active",
20+
"admin",
21+
"calendar"
22+
],
23+
"files": [
24+
"src/**/*"
25+
],
26+
"scripts": {
27+
"prepublishOnly": "rm -rf src && mkdir -p src && cp app/assets/stylesheets/activeadmin_calendar.css src/"
28+
}
29+
}

0 commit comments

Comments
 (0)