@thantickets/common 1.0.0 → 1.0.5

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