Socket
Socket
Sign inDemoInstall

primer-css

Package Overview
Dependencies
14
Maintainers
2
Versions
356
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.1 to 4.0.2

build/build.css

14

package.json
{
"version": "4.0.1",
"version": "4.0.2",
"name": "primer-css",

@@ -11,3 +11,4 @@ "description": "Primer is the CSS toolkit that powers GitHub's front-end design. It's purposefully limited to common components to provide our developers with the most flexibility, and to keep GitHub uniquely *GitHubby*. It's built with SCSS, so it's easy to include all or part of it within your own project.",

"index.scss",
"lib"
"lib",
"build"
],

@@ -19,7 +20,5 @@ "repository": "https://github.com/primer/primer.git",

"scripts": {
"build": "npm run setup && npm run preprocess",
"stats": "parker build/build.css > .primer-stats.txt",
"preprocess": "node-sass index.scss --include-path node_modules | postcss -c .postcss.json -o build/build.css && npm run stats",
"setup": "npm install",
"preversion": "npm run build",
"setup": "if [ ! -d \"node_modules\" ]; then npm install; fi",
"build": "node-sass index.scss --include-path node_modules --output-style compressed | postcss -c .postcss.json -o build/build.css",
"prepublish": "npm run setup && npm run build",
"test": "npm run build"

@@ -46,3 +45,2 @@ },

"node-sass": "^3.7.0",
"parker": "0.0.10",
"postcss-cli": "^2.5.2"

@@ -49,0 +47,0 @@ },

@@ -10,6 +10,2 @@ # Primer CSS

## Documentation
You can read more about primer in the [docs][docs].
## Install

@@ -35,3 +31,3 @@

For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css`
For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.

@@ -42,16 +38,11 @@ ```

## Primer stats
## Documentation
When compiling the Sass files, we will automatically generate a `.primer-stats.md` file. This is tracked in the Git repository to provide us historical and contextual information on the changes we introduce. For example, we'll know when the number of selectors or declarations rises sharply within a single change.
You can read more about primer in the [docs][docs].
## Related
* [Primer Documentation][docs]
* [primer][primer-org]
## License
MIT © [GitHub](https://github.com/)
[MIT](./LICENSE) © [GitHub](https://github.com/)
[primer-org]: https://github.com/primer
[primer]: https://github.com/primer/primer
[docs]: http://primercss.io/

@@ -58,0 +49,0 @@ [npm]: https://www.npmjs.com/

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc