This commit is contained in:
Carlos Valente
2023-02-20 18:28:54 +01:00
committed by GitHub
parent 63d763cbaf
commit d8a84ac88d
18 changed files with 79 additions and 20 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"env": {
"browser": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
}
}
+20
View File
@@ -0,0 +1,20 @@
{
"name": "ontime-types",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"private": true,
"description": "shared typings for ontime",
"scripts": {
"cleanup": "rm -rf .turbo && rm -rf node_modules"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"eslint": "^8.31.0",
"typescript": "^4.9.4"
}
}
@@ -0,0 +1,7 @@
enum TimerType {
CountDown = 'count-down',
CountUp = 'count-up',
Clock = 'clock'
}
export default TimerType
+3
View File
@@ -0,0 +1,3 @@
import TimerType from './definitions/TimerType.js';
export { TimerType };