From 577db2c5832a3002e4807d707c393afc51abdef1 Mon Sep 17 00:00:00 2001 From: Yash Thakur Date: Mon, 15 Oct 2018 12:36:22 +0530 Subject: [PATCH] Initial commit --- .eslintrc | 3 ++ .gitignore | 74 +++++++++++++++++++++++++++++++++++++++++++++ package.json | 38 +++++++++++++++++++++++ pawconfig.json | 8 +++++ prod.pawconfig.json | 8 +++++ 5 files changed, 131 insertions(+) create mode 100644 .eslintrc create mode 100644 .gitignore create mode 100644 package.json create mode 100644 pawconfig.json create mode 100644 prod.pawconfig.json diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..db1a88d --- /dev/null +++ b/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "./node_modules/@pawjs/pawjs/.eslintrc" +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9ef5538 --- /dev/null +++ b/.gitignore @@ -0,0 +1,74 @@ +# Logs +logs + +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Typescript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# WebStorm configurations +.idea + +# Ignore the etc folders created by +etc/ + +# Do not add dist to git +dist + +# ignore the config assets as its generated runtime and thus should notbe included in git +src/config/assets.js + +# Ignore sass cache +.sass-cache diff --git a/package.json b/package.json new file mode 100644 index 0000000..37acb12 --- /dev/null +++ b/package.json @@ -0,0 +1,38 @@ +{ + "name": "example-pawjs-tailwind", + "version": "1.0.0", + "description": "Example on using Tailwind CSS with PawJS", + "scripts": { + "start": "pawjs --env=development start", + "build": "pawjs --env=production --config=prod.pawconfig.json build" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Atyantik/example-pawjs-tailwind.git" + }, + "author": { + "name": "Atyantik Technologies", + "email": "admin@atyantik.com", + "url": "https://www.atyantik.com/" + }, + "contributors": [ + { + "name": "Tirth Bodawala", + "email": "tirthbodawala@atyantik.com", + "url": "https://www.atyantik.com/" + }, + { + "name": "Yash Thakur", + "email": "thakur.yash514@gmail.com", + "url": "http://yashthakur.in/" + } + ], + "devDependencies": { + "@pawjs/pawjs": "^2.1.10" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/Atyantik/example-pawjs-tailwind/issues" + }, + "homepage": "https://github.com/Atyantik/example-pawjs-tailwind#readme" +} diff --git a/pawconfig.json b/pawconfig.json new file mode 100644 index 0000000..6c81a96 --- /dev/null +++ b/pawconfig.json @@ -0,0 +1,8 @@ +{ + "port": "3003", + "host": "0.0.0.0", + "appRootUrl": "/", + "serviceWorker": false, + "serverSideRender": true, + "singlePageApplication": false +} diff --git a/prod.pawconfig.json b/prod.pawconfig.json new file mode 100644 index 0000000..e93d263 --- /dev/null +++ b/prod.pawconfig.json @@ -0,0 +1,8 @@ +{ + "port": "9002", + "host": "0.0.0.0", + "appRootUrl": "/example/semantic-ui", + "serviceWorker": false, + "serverSideRender": true, + "singlePageApplication": false +}