UNPKG

@advanced-rest-client/code-mirror

Version:
99 lines (98 loc) 2.84 kB
{ "name": "@advanced-rest-client/code-mirror", "description": "CodeMirror as a web component", "version": "3.1.5", "license": "Apache-2.0", "main": "index.js", "module": "index.js", "keywords": [ "web-components", "code-mirror", "code", "mirror" ], "authors": [ "Pawel Psztyc" ], "contributors": [ "Yury", "Your name can be here!" ], "repository": { "type": "git", "url": "git://github.com/advanced-rest-client/code-mirror.git" }, "bugs": { "url": "https://github.com/advanced-rest-client/code-mirror/issues", "email": "arc@mulesoft.com" }, "dependencies": { "@anypoint-web-components/anypoint-item": "^1.1.0", "@anypoint-web-components/anypoint-listbox": "^1.1.6", "@anypoint-web-components/validatable-mixin": "^1.1.3", "codemirror": "^5.59.4", "lit-element": "^2.4.0" }, "devDependencies": { "@advanced-rest-client/arc-demo-helper": "^2.2.6", "@advanced-rest-client/code-mirror-linter": "^3.0.2", "@open-wc/eslint-config": "^4.2.0", "@open-wc/testing": "^2.5.32", "@types/codemirror": "^0.0.108", "@web/dev-server": "^0.1.8", "@web/test-runner": "^0.12.16", "@web/test-runner-playwright": "^0.8.4", "eslint": "^7.21.0", "eslint-config-prettier": "^8.1.0", "husky": "^4.3.8", "lint-staged": "^10.5.4", "sinon": "^9.2.4", "typescript": "^4.2.3", "typescript-lit-html-plugin": "^0.9.0" }, "scripts": { "start": "web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .", "lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore", "format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore", "lint:types": "tsc", "lint": "npm run lint:eslint", "format": "npm run format:eslint", "test": "web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit", "test:watch": "web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium", "gen:wc": "wca analyze \"*.js\" --outFile custom-elements.json" }, "eslintConfig": { "extends": [ "@open-wc/eslint-config", "eslint-config-prettier" ], "overrides": [ { "files": [ "demo/**/*.js", "test/**/*.js", "**/demo/**/*.html" ], "rules": { "no-console": "off", "no-unused-expressions": "off", "no-plusplus": "off", "no-param-reassing": "off", "class-methods-use-this": "off", "import/no-extraneous-dependencies": "off", "no-return-await": "off" } } ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.js": [ "eslint --fix" ] } }