@questionmarktickets/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": "@questionmarktickets/common",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
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.0.0",
19
+ "typescript": "^4.9.5"
20
+ }
12
21
  }