diff --git a/package.json b/package.json index c949ef8..5e1f8f8 100644 --- a/package.json +++ b/package.json @@ -2,15 +2,17 @@ "name": "@brightspace-ui-labs/seek-bar", "type": "module", "version": "3.0.1", - "description": "Polymer media seek bar component", + "description": "Lit media seek bar component", "repository": { "type": "git", "url": "https://github.com/BrightspaceUILabs/seek-bar.git" }, "homepage": "https://github.com/BrightspaceUILabs/seek-bar", "scripts": { - "lint": "npm run lint:js", - "lint:js": "eslint . --ext .js,.html test/**/*.js demo/**/*.html", + "lint": "npm run lint:eslint && npm run lint:lit", + "lint:eslint": "eslint . --ext .js,.html", + "lint:fix": "eslint . --ext .js,.html --fix", + "lint:lit": "lit-analyzer \"*.js\" demo test", "start": "web-dev-server --node-resolve --watch --open --app-index demo/index.html", "test": "npm run lint && npm run test:headless", "test:headless": "web-test-runner --group default", @@ -21,22 +23,18 @@ "devDependencies": { "@babel/core": "^7", "@babel/eslint-parser": "^7", - "@brightspace-ui/stylelint-config": "^0.7", "@brightspace-ui/testing": "^1.16.1", "@web/dev-server": "^0.1", "@web/test-runner": "^0.13", "eslint": "^8", - "eslint-config-brightspace": "^0.17", - "eslint-plugin-html": "^8.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-lit": "^1.14.0", - "eslint-plugin-sort-class-members": "^1.20.0", + "eslint-config-brightspace": "^0.21", "lit-analyzer": "^1", "stylelint": "^15" }, "files": [ - "d2l-progress.js", - "d2l-seek-bar.js" + "progress-bar.js", + "seek-bar.js", + "/lang" ], "publishConfig": { "access": "public" diff --git a/progressBar.js b/progress-bar.js similarity index 100% rename from progressBar.js rename to progress-bar.js diff --git a/seekBar.js b/seek-bar.js similarity index 100% rename from seekBar.js rename to seek-bar.js