@thryveai/theme-interfaces 1.4.9 → 1.4.13

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.
package/.eslintignore ADDED
@@ -0,0 +1,39 @@
1
+ # dependencies
2
+ /node_modules
3
+
4
+ # testing
5
+ /coverage
6
+
7
+ # production
8
+ /build
9
+ /build_server
10
+ /build_ts
11
+ /oidc-storage
12
+ /dist
13
+ /lib
14
+
15
+
16
+ # misc
17
+ .DS_Store
18
+ .env.local
19
+ .env.development.local
20
+ .env.test.local
21
+ .env.production.local
22
+
23
+ npm-debug.log*
24
+ yarn-debug.log*
25
+ yarn-error.log*
26
+ yarn-lock
27
+
28
+ # editor configs
29
+ .vscode
30
+ .idea
31
+
32
+
33
+ package-lock.json
34
+ /yarn.lock
35
+ .gitignore
36
+
37
+ *.tgz
38
+ *.lock
39
+ *.orig
package/.eslintrc.js ADDED
@@ -0,0 +1,19 @@
1
+ module.exports = {
2
+ env: {
3
+ browser: true,
4
+ es2021: true
5
+ },
6
+ extends: ['prettier'],
7
+ parser: '@typescript-eslint/parser',
8
+ parserOptions: {
9
+ ecmaFeatures: {
10
+ jsx: true
11
+ },
12
+ ecmaVersion: 13,
13
+ sourceType: 'module'
14
+ },
15
+ plugins: ['eslint-plugin-prettier', 'prettier'],
16
+ rules: {
17
+ 'prettier/prettier': ['error']
18
+ }
19
+ };
package/.prettierrc ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "singleQuote": true,
3
+ "jsxSingleQuote": true,
4
+ "trailingComma": "none",
5
+ "arrowParens": "avoid"
6
+ }
package/package.json CHANGED
@@ -1,14 +1,26 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "1.4.9",
3
+ "version": "1.4.13",
4
4
  "description": "Shared Interfaces for all ThryveAi storefront retailer themes.",
5
5
  "scripts": {
6
- "build": "tsc",
7
- "push": "npm run build && npm publish"
6
+ "build": "tsc && npm run lint -- --fix",
7
+ "push": "npm run build && npm publish",
8
+ "lint": "eslint --ext .js,.ts .",
9
+ "format": "prettier --write \"**/*.+(js|ts|json)\""
8
10
  },
9
11
  "author": "Simon Markey",
10
12
  "license": "ISC",
11
13
  "devDependencies": {
12
- "typescript": "4.3.5"
14
+ "@typescript-eslint/eslint-plugin": "^5.9.1",
15
+ "@typescript-eslint/parser": "^5.9.1",
16
+ "eslint": "^7.32.0",
17
+ "eslint-config-prettier": "^8.3.0",
18
+ "eslint-config-standard": "^16.0.3",
19
+ "eslint-plugin-import": "^2.25.4",
20
+ "eslint-plugin-node": "^11.1.0",
21
+ "eslint-plugin-prettier": "^4.0.0",
22
+ "eslint-plugin-promise": "^5.2.0",
23
+ "prettier": "^2.5.1",
24
+ "typescript": "^4.5.4"
13
25
  }
14
26
  }