@rkticket/common 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ interface Color {
2
+ red: number;
3
+ blue: number;
4
+ green: number;
5
+ }
6
+ declare const color: Color;
7
+ export default color;
package/build/index.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const color = {
4
+ red: 10,
5
+ blue: 10,
6
+ green: 10,
7
+ };
8
+ console.log(color);
9
+ exports.default = color;
package/package.json CHANGED
@@ -1,12 +1,21 @@
1
1
  {
2
2
  "name": "@rkticket/common",
3
- "version": "1.0.0",
4
- "main": "index.js",
3
+ "version": "1.0.1",
4
+ "main": "./build/index.js",
5
+ "types": "./build/index.d.ts",
6
+ "files": [
7
+ "build/**/*"
8
+ ],
5
9
  "scripts": {
6
- "test": "echo \"Error: no test specified\" && exit 1"
10
+ "clean": "del ./build/*",
11
+ "build": "npm run clean && tsc"
7
12
  },
8
13
  "keywords": [],
9
14
  "author": "",
10
15
  "license": "ISC",
11
- "description": ""
16
+ "description": "",
17
+ "devDependencies": {
18
+ "del-cli": "^6.0.0",
19
+ "typescript": "^5.6.3"
20
+ }
12
21
  }