lol-constants 0.1.0 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -32135,3 +32135,4 @@ export declare const championByName: {
32135
32135
  };
32136
32136
  version: string;
32137
32137
  };
32138
+ export type { ChampionKey, ChampionName } from './types';
@@ -0,0 +1,4 @@
1
+ import championByKey from '../generated/championByKey.json';
2
+ import championByName from '../generated/championByName.json';
3
+ export declare type ChampionName = keyof typeof championByName.data;
4
+ export declare type ChampionKey = keyof typeof championByKey.data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "0.1.0",
4
- "description": "",
3
+ "version": "0.1.3",
4
+ "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "MIT",
@@ -17,5 +17,9 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/node": "^17.0.42"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/kd0010/lol-constants.git"
20
24
  }
21
25
  }