Fix dependencies

This commit is contained in:
2022-03-11 23:50:35 +01:00
parent 9e2a7a78a3
commit 34ed042bb6
4 changed files with 15 additions and 11 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
node_modules/
package-lock.json

View File

@@ -1 +0,0 @@
node_modules/

View File

@@ -1,5 +1,5 @@
{
"name": "tp-input",
"name": "@tp/tp-input",
"version": "1.0.1",
"description": "",
"main": "tp-input.js",
@@ -11,5 +11,8 @@
"url": "https://gitea.codeblob.work/tp-elements/tp-input.git"
},
"author": "trading_peter",
"license": "Apache-2.0"
"license": "Apache-2.0",
"dependencies": {
"@tp/helpers": "^1.0.0"
}
}

View File

@@ -5,10 +5,10 @@ This program is available under Apache License Version 2.0
*/
import { LitElement, html, css } from 'lit';
import { FormElement } from '../helpers/form-element.js';
import { EventHelpers } from '../helpers/event-helpers.js';
import { ControlState } from '../helpers/control-state.js';
import { Inert } from '../helpers/inert.js';
import { FormElement } from '@tp/helpers/form-element.js';
import { EventHelpers } from '@tp/helpers/event-helpers.js';
import { ControlState } from '@tp/helpers/control-state.js';
import { Inert } from '@tp/helpers/inert.js';
const mixins = [
FormElement,