@dicebear/open-peeps 4.10.2 → 5.0.0-alpha.11
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/README.md +6 -5
- package/lib/colors/clothing.d.ts +2 -0
- package/lib/colors/clothing.js +9 -0
- package/lib/colors/hair.d.ts +2 -0
- package/lib/colors/hair.js +12 -0
- package/lib/colors/index.d.ts +3 -0
- package/lib/colors/index.js +3 -0
- package/lib/colors/skin.d.ts +2 -0
- package/lib/colors/skin.js +7 -0
- package/lib/components/accessories.d.ts +2 -0
- package/lib/components/accessories.js +10 -0
- package/lib/components/face.d.ts +2 -0
- package/lib/components/face.js +32 -0
- package/lib/components/facialHair.d.ts +2 -0
- package/lib/components/facialHair.js +18 -0
- package/lib/components/head.d.ts +2 -0
- package/lib/components/head.js +50 -0
- package/lib/components/index.d.ts +5 -0
- package/lib/components/index.js +5 -0
- package/lib/components/mask.d.ts +2 -0
- package/lib/components/mask.js +4 -0
- package/lib/core.d.ts +3 -0
- package/lib/core.js +64 -0
- package/lib/hooks/onPostCreate.d.ts +11 -0
- package/lib/hooks/onPostCreate.js +3 -0
- package/lib/hooks/onPreCreate.d.ts +9 -0
- package/lib/hooks/onPreCreate.js +3 -0
- package/lib/index.d.ts +13 -0
- package/lib/index.js +13 -0
- package/lib/meta/components.d.ts +4 -0
- package/lib/meta/components.js +22 -0
- package/lib/schema.d.ts +2 -0
- package/lib/schema.js +457 -0
- package/lib/types.d.ts +29 -0
- package/lib/types.js +1 -0
- package/lib/utils/getColors.d.ts +8 -0
- package/lib/utils/getColors.js +20 -0
- package/lib/utils/getComponents.d.ts +8 -0
- package/lib/utils/getComponents.js +39 -0
- package/lib/utils/pickColor.d.ts +9 -0
- package/lib/utils/pickColor.js +13 -0
- package/lib/utils/pickComponent.d.ts +9 -0
- package/lib/utils/pickComponent.js +14 -0
- package/package.json +21 -19
- package/dist/colors/clothing.d.ts +0 -2
- package/dist/colors/hair.d.ts +0 -2
- package/dist/colors/index.d.ts +0 -3
- package/dist/colors/skin.d.ts +0 -2
- package/dist/components/accessories.d.ts +0 -2
- package/dist/components/face.d.ts +0 -2
- package/dist/components/facialHair.d.ts +0 -2
- package/dist/components/head.d.ts +0 -2
- package/dist/components/index.d.ts +0 -5
- package/dist/components/mask.d.ts +0 -2
- package/dist/core.d.ts +0 -3
- package/dist/index.d.ts +0 -16
- package/dist/index.es.js +0 -380
- package/dist/index.js +0 -387
- package/dist/index.umd.js +0 -11
- package/dist/options.d.ts +0 -29
- package/dist/schema.d.ts +0 -2
- package/dist/static-types.d.ts +0 -16
- package/dist/utils/pickColor.d.ts +0 -3
- package/dist/utils/pickComponent.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/open-peeps",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-alpha.11",
|
|
4
4
|
"description": "Avatar style for DiceBear",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dicebear"
|
|
@@ -13,34 +13,36 @@
|
|
|
13
13
|
"url": "git+https://github.com/dicebear/dicebear.git"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"browser": "dist/index.umd.js",
|
|
20
|
-
"types": "dist/index.d.ts",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"exports": "./lib/index.js",
|
|
18
|
+
"types": "./lib/index.d.ts",
|
|
21
19
|
"files": [
|
|
22
20
|
"LICENSE",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
21
|
+
"lib",
|
|
22
|
+
"README.md"
|
|
25
23
|
],
|
|
26
24
|
"scripts": {
|
|
27
|
-
"
|
|
25
|
+
"prebuild": "del-cli lib",
|
|
26
|
+
"build": "tsc",
|
|
28
27
|
"prepublishOnly": "npm run build",
|
|
29
|
-
"
|
|
28
|
+
"test": "uvu tests"
|
|
30
29
|
},
|
|
31
30
|
"devDependencies": {
|
|
32
|
-
"@dicebear/
|
|
31
|
+
"@dicebear/core": "^5.0.0-alpha.11",
|
|
33
32
|
"@tsconfig/recommended": "^1.0.0",
|
|
34
33
|
"@types/jest": "^26.0.22",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"ts-jest": "^26.5.4",
|
|
39
|
-
"typescript": "^4.2.3",
|
|
40
|
-
"utility-types": "^3.10.0"
|
|
34
|
+
"del-cli": "^4.0.1",
|
|
35
|
+
"typescript": "^4.5.2",
|
|
36
|
+
"uvu": "^0.5.2"
|
|
41
37
|
},
|
|
42
38
|
"peerDependencies": {
|
|
43
|
-
"@dicebear/
|
|
39
|
+
"@dicebear/core": "^5.0.0-alpha.10"
|
|
44
40
|
},
|
|
45
|
-
"
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
},
|
|
47
|
+
"gitHead": "93e6f1be9fff392ded1f18c8320b6a0ca8e695c1"
|
|
46
48
|
}
|
package/dist/colors/hair.d.ts
DELETED
package/dist/colors/index.d.ts
DELETED
package/dist/colors/skin.d.ts
DELETED
package/dist/core.d.ts
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Open Peeps (@dicebear/open-peeps)
|
|
3
|
-
*
|
|
4
|
-
* Code licensed under MIT License.
|
|
5
|
-
* Copyright (c) 2021 Florian Körner
|
|
6
|
-
*
|
|
7
|
-
* Design "Open Peeps" by Pablo Stanley licensed under CC0 1.0.
|
|
8
|
-
* Source: https://www.openpeeps.com/
|
|
9
|
-
* License: https://creativecommons.org/publicdomain/zero/1.0/
|
|
10
|
-
*/
|
|
11
|
-
declare let create: import("@dicebear/avatars").StyleCreate<import("./options").Options>, meta: import("@dicebear/avatars").StyleMeta, schema: import("json-schema").JSONSchema7;
|
|
12
|
-
export { create, meta, schema };
|
|
13
|
-
export { Options } from './options';
|
|
14
|
-
declare const _default: import("@dicebear/avatars").SpriteCollection<import("./options").Options>;
|
|
15
|
-
/** @deprecated will be removed in Version 5.0 */
|
|
16
|
-
export default _default;
|