Skip to content

Commit 0b9d781

Browse files
committed
Added scripts for TW
1 parent 2c6516b commit 0b9d781

File tree

3 files changed

+1566
-17
lines changed

3 files changed

+1566
-17
lines changed

package.json

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
{
2-
"name": "boilerplate-code-flask-dashboard",
3-
"mastertemplate": "boilerplate-code-flask-dashboard",
4-
"version": "2stable.0.1",
5-
"description": "Template project - Flask Boilerplate Code",
6-
"repository": {
7-
"type": "git",
8-
"url": "https://github.com/app-generator/boilerplate-code-flask-dashboard"
2+
"name": "soft-ui-dashboard-tailwind",
3+
"version": "1.0.2",
4+
"description": "",
5+
"scripts": {
6+
"build": "npm run css && npm run min-css",
7+
"css": "tailwindcss build -i apps/static/assets/scss/styles.css -o apps/static/assets/css/styles.css",
8+
"min-css": "css-minify -d apps/static/assets/css -o apps/static/assets/css"
99
},
10-
"bugs": {
11-
"url": "https://github.com/app-generator/boilerplate-code-flask-dashboard/issues",
12-
"email": "[email protected]"
10+
"devDependencies": {
11+
"autoprefixer": "^10.4.2",
12+
"postcss": "^8.4.6",
13+
"postcss-cli": "^9.1.0",
14+
"tailwindcss": "^3.0.19"
1315
},
14-
"author": "AppSeed App Generator <[email protected]> (https://appseed.us)",
15-
"engines": {
16-
"node": ">=10.0.0"
17-
},
18-
"dependencies": {},
19-
"devDependencies": {}
20-
}
16+
"dependencies": {
17+
"cli": "^1.0.1",
18+
"css-minify": "^2.0.0",
19+
"highlight.js": "^11.4.0",
20+
"tailwindcss-transforms": "^2.2.0"
21+
}
22+
}

postcss.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
plugins: {
3+
tailwindcss: { config: "./tailwindcss-config.js" },
4+
autoprefixer: {},
5+
},
6+
};

0 commit comments

Comments
 (0)