@spscommerce/ds-colors 6.37.3 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -7
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spscommerce/ds-colors",
|
|
3
3
|
"description": "Design sanctioned colors for SPS Commerce libraries and applications compiled into various formats.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "7.0.0",
|
|
5
5
|
"author": "SPS Commerce",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
|
-
"repository": "https://github.com/spscommerce/
|
|
8
|
-
"homepage": "https://github.com/spscommerce/
|
|
7
|
+
"repository": "https://github.com/spscommerce/woodland/tree/main/packages/@spscommerce/ds-colors",
|
|
8
|
+
"homepage": "https://github.com/spscommerce/woodland/tree/main/packages/@spscommerce/ds-colors#readme",
|
|
9
9
|
"main": "./colors.js",
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
@@ -27,8 +27,7 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "node -e \"$(tsc scripts/build.ts --outFile /dev/stdout --lib es6 --types node)\"",
|
|
29
29
|
"clean": "git clean -fdX",
|
|
30
|
-
"pub": "
|
|
31
|
-
"test": "
|
|
32
|
-
}
|
|
33
|
-
"readme": "# @spscommerce/ds-colors\n\n> Design approved colors distributed in various formats\n\n```\nnpm install --save @spscommerce/ds-colors\n\n# OR\n\nyarn add @spscommerce/ds-colors\n```\n\nNow choose a format that you'd like to use. The following formats are available:\n\n* [CommonJS](#commonjs)\n* [CSS Variables](#css-variables)\n* [JSON](#json)\n* [Less](#less)\n* [SCSS](#scss)\n* [YAML](#yaml)\n\nIf you want more formats please open a pull request.\n\n### CommonJS\n\n```js\nconst colors, { red100 } = require('@spscommerce/ds-colors');\nconsole.log(colors.red100); // > #ffeaec\nconsole.log(red100); // > #ffeaec\n```\n\n### CSS Variables\n\n```css\n@import 'path/to/node_modules/@spscommerce/ds-colors/colors.css';\n\n.myclass {\n color: var(--gray400);\n}\n```\n\n### JSON\n\n```bash\nln -s path/to/node_modules/@spscommerce/ds-colors/colors.json colors.json\n```\n\n### Less\n\n```less\n@import 'path/to/node_modules/@spscommerce/ds-colors/colors';\n\n.myclass {\n color: @gray400;\n}\n```\n\n### SCSS\n\n```scss\n@import '@spscommerce/ds-colors/colors';\n\n.myclass {\n color: $gray400;\n}\n```\n\n### YAML\n\n```bash\nln -s path/to/node_modules/@spscommerce/ds-colors/colors.yml colors.yml\n```\n"
|
|
30
|
+
"pub": "node ../../scripts/publish-package.js",
|
|
31
|
+
"test": "pnpm run build && node scripts/test.js"
|
|
32
|
+
}
|
|
34
33
|
}
|