Skip to content

Commit

Permalink
Merge 467cca2 into 61d2b87
Browse files Browse the repository at this point in the history
  • Loading branch information
neoddish committed Jul 14, 2021
2 parents 61d2b87 + 467cca2 commit 4f6b6e1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> English | [简体中文](./README.zh-CN.md)

# color-palette-json-schema
# color-schema

A JSON schema used to regulate semantic color assets or palettes.

Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> [English](./README.md) | 简体中文

# color-palette-json-schema
# color-schema

一个用于规范语义化的色彩资产或色板的JSON模式。

Expand Down
4 changes: 2 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "color-palette-json-schema-demo",
"name": "color-schema-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
Expand All @@ -12,7 +12,7 @@
},
"author": "AntV",
"license": "MIT",
"homepage": "https://antvis.github.io/color-palette-json-schema",
"homepage": "https://antvis.github.io/color-schema",
"dependencies": {
"@ant-design/icons": "^4.6.2",
"@types/chroma-js": "^2.1.3",
Expand Down
4 changes: 2 additions & 2 deletions demo/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>color-palette-json-schema Demo</title>
<title>color-schema Demo</title>
<script src="https://gw.alipayobjects.com/os/lib/react/16.10.2/umd/react.development.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/react-dom/16.10.2/umd/react-dom.development.js"></script>
</head>
<body>
<div id="root"></div>
<script src="/color-palette-json-schema/bundle.js"></script>
<script src="/color-schema/bundle.js"></script>
</body>
</html>
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "color-schema-test",
"name": "color-schema",
"version": "0.1.8",
"description": "JSON Schema for Color Palette",
"main": "lib/src/index.js",
Expand Down Expand Up @@ -38,19 +38,19 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/antvis/color-palette-json-schema.git"
"url": "git+https://github.com/antvis/color-schema.git"
},
"author": {
"name": "AntV",
"url": "https://antv.vision/"
},
"license": "MIT",
"homepage": "https://antvis.github.io/color-palette-json-schema",
"homepage": "https://antvis.github.io/color-schema",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/antvis/color-palette-json-schema/issues"
"url": "https://github.com/antvis/color-schema/issues"
},
"dependencies": {
"@types/chroma-js": "^2.1.3"
Expand Down Expand Up @@ -97,12 +97,12 @@
},
"limit-size": [
{
"path": "dist/color-palette-json-schema.min.js",
"path": "dist/color-schema.min.js",
"limit": "8 Kb",
"gzip": true
},
{
"path": "dist/color-palette-json-schema.min.js",
"path": "dist/color-schema.min.js",
"limit": "24 Kb"
}
]
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module.exports = [
{
input: 'src/index.ts',
output: {
file: 'dist/color-palette-json-schema.min.js',
name: 'color-palette-json-schema',
file: 'dist/color-schema.min.js',
name: 'color-schema',
format: 'umd',
sourcemap: false,
},
Expand Down

0 comments on commit 4f6b6e1

Please sign in to comment.