-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
v1.1.11 ~ ππ πΎ
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"printWidth": 190, | ||
"tabWidth": 4, | ||
"jsxSingleQuote": true | ||
} |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"java.configuration.updateBuildConfiguration": "automatic", | ||
"prettier.prettierPath": "./node_modules/prettier", | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "explicit" | ||
}, | ||
"editor.formatOnSave": true, | ||
"editor.formatOnPaste": true, | ||
"editor.formatOnType": false, | ||
"prettier.configPath": ".prettierrc", | ||
"prettier.ignorePath": ".prettierignore" | ||
} |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export default { | ||
presets: ['@babel/preset-env'], | ||
plugins: [['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }]], | ||
}; |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import globals from 'globals'; | ||
import pluginJs from '@eslint/js'; | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [{ languageOptions: { globals: { ...globals.browser, ...globals.node } } }, pluginJs.configs.recommended]; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,56 @@ | ||
{ | ||
"name": "@fleetbase/storefront", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "Fleetbase Storefront JS & Node SDK", | ||
"license": "AGPL-3.0-or-later", | ||
"author": "Ronald A. Richardson <ron@fleetbase.io> (https://ron.dev)", | ||
"license": "BSD-3-Clause", | ||
"type": "module", | ||
"keywords": [ | ||
"fleetbase", | ||
"ecommerce", | ||
"api", | ||
"ondemand", | ||
"ecommerce", | ||
"last", | ||
"mile", | ||
"delivery", | ||
"logistics", | ||
"ecommerce", | ||
"app" | ||
"headless ecommerce" | ||
], | ||
"main": "dist/cjs/storefront.js", | ||
"module": "dist/esm/storefront.js", | ||
"exports": { | ||
".": { | ||
"import": "./dist/esm/storefront.js", | ||
"require": "./dist/cjs/storefront.js" | ||
} | ||
}, | ||
"scripts": { | ||
"prebuild": "npm run lint", | ||
"lint": "eslint src", | ||
"lint:fix": "eslint src --fix", | ||
"lint:tests": "eslint tests", | ||
"bundle": "rollup -c", | ||
"dev": "rollup -c -w", | ||
"test": "mocha --require @babel/polyfill --require @babel/register --require source-map-support/register tests/**/*.test.js", | ||
"prepare": "husky install", | ||
"test": "mocha -r @babel/register -r dotenv/config 'tests/*.test.js' --timeout 10000", | ||
"format": "prettier . --write" | ||
}, | ||
"main": "dist/cjs/storefront.js", | ||
"module": "dist/esm/storefront.js", | ||
"files": [ | ||
"dist", | ||
"src" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./dist/esm/storefront.js", | ||
"require": "./dist/cjs/storefront.js" | ||
}, | ||
"./resolver": { | ||
"import": "./dist/esm/resolver.js", | ||
"require": "./dist/cjs/resolver.js" | ||
} | ||
}, | ||
"lint-staged": { | ||
"**/*": "prettier --write --ignore-unknown" | ||
"dependencies": { | ||
"@fleetbase/sdk": "^1.2.11", | ||
"countries-list": "^3.1.1", | ||
"date-fns": "^4.1.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.23.6", | ||
"@babel/plugin-proposal-class-properties": "^7.18.6", | ||
"@babel/plugin-proposal-decorators": "^7.23.6", | ||
"@babel/plugin-transform-spread": "^7.23.3", | ||
"@babel/polyfill": "^7.12.1", | ||
"@babel/preset-env": "^7.23.6", | ||
"@babel/register": "^7.22.15", | ||
"@babel/core": "^7.26.0", | ||
"@babel/node": "^7.26.0", | ||
"@babel/plugin-proposal-decorators": "^7.25.9", | ||
"@babel/preset-env": "^7.26.0", | ||
"@babel/register": "^7.25.9", | ||
"@eslint/js": "^9.17.0", | ||
"@rollup/plugin-babel": "^6.0.4", | ||
"@rollup/plugin-node-resolve": "^15.2.3", | ||
"chai": "^4.3.10", | ||
"eslint": "^8.56.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^15.2.0", | ||
"mocha": "^10.2.0", | ||
"prettier": "3.1.1", | ||
"rollup": "^4.9.1", | ||
"rollup-plugin-eslint": "^7.0.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"source-map-support": "^0.5.21", | ||
"typescript": "^5.3.3" | ||
}, | ||
"dependencies": { | ||
"@fleetbase/sdk": "1.2.10", | ||
"date-fns": "^3.0.5" | ||
"@rollup/plugin-commonjs": "^28.0.2", | ||
"@rollup/plugin-eslint": "^9.0.5", | ||
"@rollup/plugin-node-resolve": "^16.0.0", | ||
"@rollup/plugin-terser": "^0.4.4", | ||
"chai": "^5.1.2", | ||
"dotenv": "^16.4.7", | ||
"eslint": "^9.17.0", | ||
"globals": "^15.14.0", | ||
"mocha": "^11.0.1", | ||
"prettier": "3.4.2", | ||
"rollup": "^4.29.1" | ||
} | ||
} |