90dc-core 1.0.0

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 ADDED
@@ -0,0 +1,2 @@
1
+ # 90dc-core
2
+ A package that contains utils and interfaces used to create 90dc
@@ -0,0 +1 @@
1
+ export declare const Greeter: (name: string) => string;
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Greeter = void 0;
4
+ const Greeter = (name) => `Hello ${name}`;
5
+ exports.Greeter = Greeter;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const index_1 = require("./index");
4
+ test('My Greeter', () => {
5
+ expect((0, index_1.Greeter)('Carl')).toBe('Hello Carl');
6
+ });
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "90dc-core",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "files": [
7
+ "dist/**/*"
8
+ ],
9
+ "scripts": {
10
+ "build": "tsc",
11
+ "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
12
+ "lint": "tslint -p tsconfig.json",
13
+ "prepare": "npm run build",
14
+ "prepublishOnly": "npm test && npm run lint",
15
+ "preversion": "npm run lint",
16
+ "version": "npm run format && git add -A src",
17
+ "postversion": "git push && git push --tags",
18
+ "test": "jest --config jestconfig.json"
19
+ },
20
+ "keywords": [],
21
+ "author": "",
22
+ "license": "ISC",
23
+ "devDependencies": {
24
+ "@types/jest": "^29.2.6",
25
+ "jest": "^29.3.1",
26
+ "prettier": "^2.8.3",
27
+ "ts-jest": "^29.0.5",
28
+ "tslint": "^6.1.3",
29
+ "tslint-config-prettier": "^1.18.0",
30
+ "typescript": "^4.9.4"
31
+ }
32
+ }