adapt-schemas 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/eslint.config.js +10 -0
  2. package/package.json +10 -3
@@ -0,0 +1,10 @@
1
+ import { FlatCompat } from '@eslint/eslintrc'
2
+
3
+ const compat = new FlatCompat()
4
+
5
+ export default [
6
+ ...compat.extends('standard'),
7
+ {
8
+ ignores: ['node_modules/']
9
+ }
10
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-schemas",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Standalone JSON Schema library for the Adapt framework",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -13,7 +13,9 @@
13
13
  "./XSSDefaults": "./lib/XSSDefaults.js"
14
14
  },
15
15
  "scripts": {
16
- "test": "node test.js"
16
+ "test": "node test.js",
17
+ "lint": "eslint .",
18
+ "lint:fix": "eslint . --fix"
17
19
  },
18
20
  "keywords": [
19
21
  "adapt",
@@ -35,7 +37,12 @@
35
37
  "@semantic-release/git": "^10.0.1",
36
38
  "conventional-changelog-eslint": "^6.0.0",
37
39
  "semantic-release": "^25.0.3",
38
- "standard": "^17.1.2"
40
+ "@eslint/eslintrc": "^3.1.0",
41
+ "eslint": "^8.57.0",
42
+ "eslint-config-standard": "^17.1.0",
43
+ "eslint-plugin-import": "^2.29.0",
44
+ "eslint-plugin-n": "^16.6.0",
45
+ "eslint-plugin-promise": "^6.6.0"
39
46
  },
40
47
  "release": {
41
48
  "plugins": [