Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "ids-css", | ||
"slug": "ids-css", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Infor Design System (IDS) Components for the web", | ||
@@ -21,8 +21,65 @@ "repository": { | ||
"scripts": { | ||
"prepublishOnly": "cd ../../../ && npm run build", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build": "npx gulp", | ||
"start": "npx gulp dev", | ||
"test": "npx gulp css:lint", | ||
"release": "release-it", | ||
"publish-docs": "npx gulp publish", | ||
"publish-docs:staging": "npx gulp publish --site=staging", | ||
"publish-docs:prod": "npx gulp publish --site=prod", | ||
"prepublishOnly": "npm run build" | ||
}, | ||
"devDependencies": { | ||
"ajv": "^5.5.2", | ||
"browser-sync": "^2.23.5", | ||
"browserslist": "^3.2.7", | ||
"cssnano": "^3.10.0", | ||
"del": "^3.0.0", | ||
"form-data": "^2.3.2", | ||
"front-matter": "^2.3.0", | ||
"gulp": "^3.9.1", | ||
"gulp-accessibility": "^3.1.1", | ||
"gulp-filter": "^5.1.0", | ||
"gulp-flatten": "^0.4.0", | ||
"gulp-front-matter": "^1.3.0", | ||
"gulp-markdown": "^2.0.1", | ||
"gulp-post": "^1.0.2", | ||
"gulp-postcss": "^7.0.1", | ||
"gulp-rename": "^1.2.2", | ||
"gulp-sketch": "^1.0.5", | ||
"gulp-sourcemaps": "^2.6.4", | ||
"gulp-stylelint": "^6.0.0", | ||
"gulp-svgmin": "^1.2.3", | ||
"gulp-svgstore": "^6.1.1", | ||
"gulp-tap": "^1.0.1", | ||
"gulp-util": "^3.0.8", | ||
"gulp-yaml": "^1.0.1", | ||
"gulp-zip": "^4.1.0", | ||
"handlebars": "^4.0.11", | ||
"handlebars-registrar": "^1.5.2", | ||
"ids-identity": "^1.0.7", | ||
"lost": "^8.2.1", | ||
"marked": "^0.3.19", | ||
"postcss-at-rules-variables": "^0.1.4", | ||
"postcss-commas": "^1.0.0", | ||
"postcss-cssnext": "^3.1.0", | ||
"postcss-for": "^2.1.1", | ||
"postcss-import": "^11.1.0", | ||
"postcss-mixins": "^6.2.0", | ||
"pygmentize-bundled": "^2.3.0", | ||
"release-it": "^7.4.5", | ||
"run-sequence": "^2.2.1", | ||
"stylelint": "^8.4.0", | ||
"stylelint-order": "^0.8.1", | ||
"vinyl-named": "^1.1.0" | ||
}, | ||
"dependencies": { | ||
"scripts": "^0.1.0" | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions" | ||
], | ||
"files": [ | ||
"dist" | ||
"src/package/ids-css/dist" | ||
] | ||
} |
@@ -19,18 +19,43 @@ # Infor Design System CSS | ||
1. Link to or include either the regular or minified files into your project. | ||
## Dev Quick start | ||
``` | ||
node_modules/ids-css/dist/ids-reset.min.css | ||
node_modules/ids-css/dist/ids-reset.min.css.map | ||
node_modules/ids-css/dist/ids-css.min.css | ||
node_modules/ids-css/dist/ids-css.min.css.map | ||
``` | ||
1. `git clone` the repo | ||
1. `cd` into the repo | ||
1. Switch to the branch you want to branch from | ||
- this will typically be `develop` | ||
1. `npm install -g gulp-cli && npm install` | ||
1. `gulp dev` to build and serve on http://localhost:3000 | ||
2. Insert the `ids-icons.svg` at the top of your `<body>` and wrap them in the included `visually-hidden` class. | ||
``` | ||
<div class="visually-hidden"> | ||
<!-- node_modules/ids-css/dist/ids-icons.svg --> | ||
</div> | ||
``` | ||
## NPM Tasks | ||
- `npm start` - Calls `gulp dev` but did this for consistency across repos | ||
We recommend you use the included `ids-reset.css` stylesheet, but you do not have to. | ||
## Basic Gulp Tasks | ||
- `gulp` - Clean and Build the site and packages | ||
- `gulp dev` - Clean, build (site & packages), and start the server | ||
- `gulp publish` - Build the markdown docs into json, zip it, then post to the server | ||
- `gulp publish --site=[local|localDebug|staging|prod]` = (Optional) The default is "local". To publish to `staging` or `prod`, you'll need an API key | ||
- `gulp lint` Lints the **src** and **site** css raw files | ||
- `gulp clean` - Remove all built files | ||
> The website is served at `http://localhost:3000/` | ||
> | ||
> Demos are at `http://localhost:3000/ids-{package}/{package}` | ||
> (it follows the folder pattern under `demo/`) | ||
## Testing/Linting | ||
You can run tests by doing `npm test`. | ||
## Site Directory | ||
- `src` The raw files for components and icons. | ||
- `src/packages` The individual components (while compiled each will have it's own `dist/`) | ||
- `site/www` The generated files for the local docs website | ||
- `site/css` The CSS for the local docs site only | ||
- `site/templates` The templates for generating the site html files | ||
- `site/www/dist` Minified stylesheets used for the site. | ||
- `demo` Demo of each package. | ||
- `gulp` Contains the gulp tasks | ||
- `spec` The unit config/tests | ||
- `publish` The directory the deploy/publish is done from |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
1
61
16130
1
42
3
0
2
+ Addedscripts@^0.1.0
+ Addedscripts@0.1.0(transitive)