From 380664b4b55ba4c03eda2d81dd5c6a3899e1349e Mon Sep 17 00:00:00 2001 From: Jacob Bare Date: Tue, 12 Oct 2021 09:13:52 -0500 Subject: [PATCH] Create initial example website package --- services/example-website/.eslintignore | 1 + services/example-website/.eslintrc.js | 9 ++++++++ services/example-website/package.json | 30 ++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 services/example-website/.eslintignore create mode 100644 services/example-website/.eslintrc.js create mode 100644 services/example-website/package.json diff --git a/services/example-website/.eslintignore b/services/example-website/.eslintignore new file mode 100644 index 000000000..c7a811092 --- /dev/null +++ b/services/example-website/.eslintignore @@ -0,0 +1 @@ +*.marko.js diff --git a/services/example-website/.eslintrc.js b/services/example-website/.eslintrc.js new file mode 100644 index 000000000..2415c8b75 --- /dev/null +++ b/services/example-website/.eslintrc.js @@ -0,0 +1,9 @@ +module.exports = { + settings: { + 'import/resolver': { + node: { + extensions: ['.js', '.marko'], + }, + }, + }, +}; diff --git a/services/example-website/package.json b/services/example-website/package.json new file mode 100644 index 000000000..ff1d33601 --- /dev/null +++ b/services/example-website/package.json @@ -0,0 +1,30 @@ +{ + "name": "@parameter1/base-cms-example-website", + "version": "2.46.2", + "description": "Example BaseCMS website.", + "main": "src/index.js", + "author": "Jacob Bare ", + "repository": "https://github.com/parameter1/base-cms/tree/master/services/example-website", + "license": "MIT", + "private": true, + "scripts": { + "dev": "basecms-website dev index.js", + "build": "basecms-website build", + "compile": "basecms-marko-compile compile --dir ./ --silent true", + "lint": "yarn lint:js && yarn lint:css", + "lint:js": "eslint --ext .js --ext .vue --max-warnings 5 --ignore-path ../../.eslintignore ./", + "lint:css": "stylelint ./**/*.scss --max-warnings 5", + "test": "yarn lint && yarn compile && yarn build" + }, + "dependencies": { + "@parameter1/base-cms-apollo-ssr": "^2.45.0", + "@parameter1/base-cms-marko-core": "^2.46.0", + "@parameter1/base-cms-marko-web": "^2.46.1", + "@parameter1/base-cms-marko-web-theme-default": "^2.45.0", + "@parameter1/base-cms-object-path": "^2.45.0", + "@parameter1/base-cms-utils": "^2.22.2", + "@parameter1/base-cms-web-cli": "^2.46.2", + "graphql": "^14.7.0", + "graphql-tag": "^2.12.5" + } +}