Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-thakur committed Oct 15, 2018
0 parents commit 577db2c
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/@pawjs/pawjs/.eslintrc"
}
74 changes: 74 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
38 changes: 38 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"url": "https://www.atyantik.com/"
},
"contributors": [
{
"name": "Tirth Bodawala",
"email": "[email protected]",
"url": "https://www.atyantik.com/"
},
{
"name": "Yash Thakur",
"email": "[email protected]",
"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"
}
8 changes: 8 additions & 0 deletions pawconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"port": "3003",
"host": "0.0.0.0",
"appRootUrl": "/",
"serviceWorker": false,
"serverSideRender": true,
"singlePageApplication": false
}
8 changes: 8 additions & 0 deletions prod.pawconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"port": "9002",
"host": "0.0.0.0",
"appRootUrl": "/example/semantic-ui",
"serviceWorker": false,
"serverSideRender": true,
"singlePageApplication": false
}

0 comments on commit 577db2c

Please sign in to comment.