34 lines
1.7 KiB
JSON
34 lines
1.7 KiB
JSON
{
|
|
"name": "mcp-frontend",
|
|
"description": "Frontend components for the 4Creative MCP",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "npm run css && npm run js && npm run fonts",
|
|
"css-compile-dash": "sass --style compressed --no-error-css --no-source-map --load-path=node_modules scss/dashboard/sb-admin.scss:public/style/sb-admin.min.css",
|
|
"css-compile-login": "sass --style compressed --no-error-css --no-source-map --load-path=node_modules scss/login/login.scss:public/style/login.min.css",
|
|
"css-lint": "stylelint scss/",
|
|
"css-prefix": "postcss --replace public/style/* --use autoprefixer --no-map",
|
|
"css": "npm run css-compile-dash && npm run css-compile-login && npm run css-prefix",
|
|
"js": "cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.js public/js/vendor/bootstrap.bundle.min.js && cp node_modules/jquery/dist/jquery.min.js public/js/vendor/jquery.min.js && cp node_modules/jquery.easing/jquery.easing.min.js public/js/vendor/jquery.easing.min.js",
|
|
"fonts": "cp -r node_modules/@fortawesome/fontawesome-free/webfonts public/fonts/fontawesome-free",
|
|
"server": "http-server ./public -c-1 -a 127.0.0.1",
|
|
"start": "npm run watch & npm run server",
|
|
"watch": "nodemon -e html,scss,js --ignore public/js -x \"npm run build\""
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-free": "^6.4.2",
|
|
"bootstrap": "^4.6.2",
|
|
"jquery": "^3.7.1",
|
|
"jquery.easing": "^1.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.4.14",
|
|
"http-server": "^14.1.1",
|
|
"nodemon": "^3.0.1",
|
|
"postcss": "^8.4.24",
|
|
"postcss-cli": "^10.1.0",
|
|
"sass": "^1.63.6"
|
|
}
|
|
}
|