Skip to content

Commit

Permalink
integrated tailwind and antdesign
Browse files Browse the repository at this point in the history
  • Loading branch information
justiceotuya committed Apr 20, 2019
1 parent 2c077df commit 5d48ee1
Show file tree
Hide file tree
Showing 7 changed files with 29,482 additions and 44 deletions.
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const withCSS = require('@zeit/next-css');

module.exports = withCSS();
97 changes: 53 additions & 44 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,55 @@
{
"name": "project-template",
"version": "1.0.0",
"description": "Template for starting a project",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 0",
"lint": "eslint pages"
},
"repository": {
"type": "git",
"url": "git+https://github.com/enyeInc/project-template.git"
},
"author": "Uche Nnadi",
"license": "ISC",
"bugs": {
"url": "https://github.com/enyeInc/project-template/issues"
},
"homepage": "https://github.com/enyeInc/project-template#readme",
"devDependencies": {
"babel-eslint": "^10.0.1",
"chai": "^4.2.0",
"enzyme": "^3.9.0",
"eslint": "^5.8.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-standard": "^4.0.0",
"jest": "^24.7.1",
"mocha": "^6.1.2",
"sinon": "^7.3.1"
},
"dependencies": {
"dotenv": "^7.0.0",
"express": "^4.16.4",
"next": "^8.0.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"redux": "^4.0.1",
"redux-saga": "^1.0.2"
}
"name": "HelpMe",
"version": "1.0.0",
"description": "An App That connects depressed people to each other for comfort",
"main": "index.js",
"scripts": {
"build:css": "postcss src/styles/index.css -o src/index.css",
"watch:css": "postcss src/styles/index.css -o src/index.css -w",
"lint": "eslint pages",
"dev": "npm run build:css && next",
"build": "npm run build:css && next build",
"start": "npm run build:css && next start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/team-helpme/helpme.git"
},
"author": "Uche Nnadi, Justice Otuya, Marshall Akpan, Daniel Damilare",
"license": "ISC",
"bugs": {
"url": "https://github.com/team-helpme/helpme/issues"
},
"homepage": "https://github.com/team-helpme/helpme#readme",
"devDependencies": {
"autoprefixer": "^9.5.1",
"babel-eslint": "^10.0.1",
"chai": "^4.2.0",
"enzyme": "^3.9.0",
"eslint": "^5.8.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-standard": "^4.0.0",
"jest": "^24.7.1",
"mocha": "^6.1.2",
"postcss-cli": "^6.1.2",
"sinon": "^7.3.1",
"tailwindcss": "^0.7.4"
},
"dependencies": {
"@zeit/next-css": "^1.0.1",
"antd": "^3.16.3",
"dotenv": "^7.0.0",
"express": "^4.16.4",
"next": "^8.0.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"redux": "^4.0.1",
"redux-saga": "^1.0.2"
}
}
6 changes: 6 additions & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// import React from 'react';
// import '../src/index.css';

// const test = () => <div className="text-orange-dark hover:text-red">Today is my cay</div>;

// export default test;
4 changes: 4 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const tailwindcss = require('tailwindcss');
module.exports = {
plugins: [tailwindcss('./tailwind.config.js'), require('autoprefixer')]
};
Loading

0 comments on commit 5d48ee1

Please sign in to comment.