3eca0be184
Parcel has been removed since we didn't need it anymore (Tailwind does the purging by itself anyway). Instead, we've told Express to serve all static assets from src/assets/ and use twig templates from src/ directly. Meanwhile, Nodemon now watches for changes in .css and .twig files too!
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"name": "snipette-crowdfunding-site",
|
|
"version": "1.0.0",
|
|
"description": "Website for the Snipette Analog crowdfunding campaign",
|
|
"repository": "https://gitlab.com/snipettemag/snipette-crowdfunding-site",
|
|
"author": "Badri Sunderarajan <badri@snipettemag.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"watch": "npm-run-all --parallel 'watch:*'",
|
|
"watch:css": "tailwindcss -i src/style.css -o src/assets/css/style.css",
|
|
"watch:server": "nodemon server/index.js",
|
|
"build": "npm-run-all 'build:*'",
|
|
"build:css": "tailwindcss -i src/style.css -o src/assets/css/style.css",
|
|
"serve": "yarn build && node server/index.js"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.4.0",
|
|
"nodemon": "^2.0.15",
|
|
"npm-run-all": "^4.1.5",
|
|
"parcel": "^2.0.1",
|
|
"postcss": "^8.4.5",
|
|
"postcss-import": "^14.0.2",
|
|
"tailwindcss": "^3.0.7"
|
|
},
|
|
"dependencies": {
|
|
"@constemi/itsdangerjs": "^0.0.2",
|
|
"bookshelf": "^1.2.0",
|
|
"dotenv": "^10.0.0",
|
|
"express": "^4.17.2",
|
|
"knex": "^0.95.15",
|
|
"nodemailer": "^6.7.2",
|
|
"sqlite3": "^5.0.2",
|
|
"twing": "^5.1.0"
|
|
}
|
|
}
|