29 lines
1.2 KiB
JSON
29 lines
1.2 KiB
JSON
{
|
|
"name": "django_tailwind",
|
|
"description": "",
|
|
"scripts": {
|
|
"start": "npm run dev",
|
|
"build": "npm run build:clean && npm run build:sass && npm run build:postcss && npm run build:cleancss",
|
|
"build:clean": "rimraf ../static/css",
|
|
"build:sass": "node-sass --output-style compressed src/styles.scss ../static/css/styles.css",
|
|
"build:postcss": "NODE_ENV=production postcss --config . --map false --output ../static/css/styles.css ../static/css/styles.css",
|
|
"build:cleancss": "cleancss -o ../static/css/styles.css ../static/css/styles.css",
|
|
"dev": "watch \"npm run dev:sass && npm run dev:postcss\" ./src",
|
|
"dev:sass": "node-sass --output-style expanded --source-map true src/styles.scss ../static/css/styles.css",
|
|
"dev:postcss": "postcss --config . --map true --output ../static/css/styles.css ../static/css/styles.css"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.0.2",
|
|
"clean-css-cli": "^4.3.0",
|
|
"node-sass": "^5.0.0",
|
|
"postcss": "^8.1.9",
|
|
"postcss-cli": "^8.3.0",
|
|
"postcss-scss": "^3.0.4",
|
|
"rimraf": "^3.0.2",
|
|
"tailwindcss": "^2.0.1",
|
|
"watch": "^1.0.2"
|
|
}
|
|
}
|