Skip to content

Commit

Permalink
Merge pull request #409 from primer/sass_key
Browse files Browse the repository at this point in the history
Add Sass key to package.json
  • Loading branch information
broccolini authored Dec 11, 2017
2 parents 1b1a236 + c4d3fa0 commit 3637e04
Show file tree
Hide file tree
Showing 32 changed files with 45 additions and 2 deletions.
1 change: 1 addition & 0 deletions modules/primer-alerts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "product",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-avatars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "product",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-blankslate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "product",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-box/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
9 changes: 8 additions & 1 deletion modules/primer-branch-name/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@
"category": "product",
"module_type": "components"
},
"files": [
"index.scss",
"lib",
"build"
],
"author": "GitHub, Inc.",
"license": "MIT",
"style": "index.scss",
"sass": "index.scss",
"main": "build/index.js",
"repository": "https://github.com/primer/primer/tree/master/modules/primer-branch-name",
"bugs": {
Expand All @@ -27,6 +33,7 @@
},
"keywords": [
"github",
"primer"
"primer",
"design-system"
]
}
1 change: 1 addition & 0 deletions modules/primer-breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-buttons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-labels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "product",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "product",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-marketing-buttons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "marketing",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-marketing-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"primer": {
"category": "marketing",
"module_type": "support"
Expand Down
1 change: 1 addition & 0 deletions modules/primer-marketing-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"license": "MIT",
"style": "build/build.css",
"main": "build/index.js",
"sass": "index.scss",
"primer": {
"category": "marketing",
"module_type": "utilities"
Expand Down
1 change: 1 addition & 0 deletions modules/primer-marketing-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "marketing",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-marketing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "marketing",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-navigation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-page-headers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "marketing",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-page-sections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "marketing",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "index.scss",
"sass": "index.scss",
"main": "build/index.js",
"repository": "https://github.com/primer/primer/tree/master/modules/primer-popover",
"bugs": {
Expand Down
1 change: 1 addition & 0 deletions modules/primer-product/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "product",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-subhead/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "index.scss",
"sass": "index.scss",
"main": "build/index.js",
"repository": "https://github.com/primer/primer/tree/master/modules/primer-subhead",
"bugs": {
Expand Down
1 change: 1 addition & 0 deletions modules/primer-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"primer": {
"category": "core",
"module_type": "support"
Expand Down
1 change: 1 addition & 0 deletions modules/primer-table-object/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-tables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "marketing",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-tooltips/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-truncate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"primer": {
"category": "core",
Expand Down
1 change: 1 addition & 0 deletions modules/primer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "GitHub, Inc.",
"license": "MIT",
"style": "build/build.css",
"sass": "index.scss",
"primer": {
"module_type": "meta"
},
Expand Down
8 changes: 7 additions & 1 deletion tools/generator-primer-module/app/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@
"category": "<%= category %>",
"module_type": "<%= module_type %>"
},
"files": [
"index.scss",
"lib",
"build"
],
"author": "GitHub, Inc.",
"license": "MIT",
"style": "index.scss",
"style": "build/build.css",
"sass": "index.scss",
"main": "build/index.js",
"repository": "https://github.com/primer/primer/tree/master/modules/<%= module %>",
"bugs": {
Expand Down

0 comments on commit 3637e04

Please sign in to comment.