mirror of
https://github.com/fleetdm/fleet
synced 2026-05-13 03:59:14 +00:00
* Add images for customer portal, dashboard, and email templates * updated email layout and reset password template, new email template * update ajax-button component to have an optional spinner * updated cloud-error & stripe-card-element component styles * updates to user model, add quote and subscription * Login, signup, forgot password, update profile * link to customer portal from pricing * new-license page, bootstrap updates * create quote action, dashboard page, update routes * Add new page styles to importer, update component styles * updates to js-timestamp * update modal styles and layout * using @submitted on ajax form, controller updates * Update create-quote.js * updates to quote model, action updates, truncate license key on dashboard * update email layout, subscribe action, user model * Update importer.less * style updates, order confirmation * use correct font * style updates * create license key * new-license page changes * signup page changes * add billing format to js-timestamp component, dashboard updates, change password * swap get started link for customers * order -> subscription * Update login.ejs * Lint fixes, page updates, mobile styles * remove edit-profile route, update layout, bootstrap, forms * change customer-layout name to match other layout names, update copyright year in layouts * changes requested from code review and #3570 * submit button width, contact font-size * Update dashboard.less * Update bootstrap-overrides.less * slack logo update, login text
48 lines
3.7 KiB
JSON
Vendored
48 lines
3.7 KiB
JSON
Vendored
{
|
|
"name": "@fleetdm/website",
|
|
"private": true,
|
|
"version": "0.0.21",
|
|
"description": "a Sails application",
|
|
"keywords": [],
|
|
"dependencies": {
|
|
"@sailshq/connect-redis": "^3.2.1",
|
|
"@sailshq/lodash": "^3.10.3",
|
|
"@sailshq/socket.io-redis": "^5.2.0",
|
|
"jsonwebtoken": "8.5.1",
|
|
"machinepack-github": "^5.0.0",
|
|
"sails": "^1.4.4",
|
|
"sails-hook-apianalytics": "^2.0.5",
|
|
"sails-hook-organics": "^2.2.0",
|
|
"sails-hook-orm": "^3.0.2",
|
|
"sails-hook-sockets": "^2.0.1",
|
|
"sails-postgresql": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "5.16.0",
|
|
"grunt": "1.0.4",
|
|
"htmlhint": "0.11.0",
|
|
"lesshint": "6.3.6",
|
|
"marked": "0.3.5",
|
|
"sails-hook-grunt": "^4.0.0",
|
|
"yaml": "1.10.2"
|
|
},
|
|
"scripts": {
|
|
"custom-tests": "echo \"(No other custom tests yet.)\" && echo",
|
|
"build-for-prod": "echo 'Now compiling markdown content and building+minifying assets for production...' && echo '(Hang tight, this could take a while.)' && echo && ./node_modules/sails/bin/sails.js run build-static-content && echo && node node_modules/grunt/bin/grunt buildProd || (echo && echo '------------------------------------------' && echo 'IMPORTANT! IMPORTANT! IMPORTANT!' && echo 'ERROR: Could not compile assets for production!' && echo && echo 'Please fix the issues logged above' && echo 'and push that up. Then, try deploying again.' && echo '------------------------------------------' && echo) && mv www .www && node -e 'sailsrc = JSON.parse(require(\"fs\").readFileSync(\"./.sailsrc\", \"utf8\")); if (sailsrc.paths&&sailsrc.paths.public !== undefined || sailsrc.hooks&&sailsrc.hooks.grunt !== undefined) { throw new Error(\"Cannot complete deployment script: .sailsrc file has conflicting contents! Please remove the conflicting stuff from .sailsrc, then commit and push that up.\"); } sailsrc.paths = sailsrc.paths || {}; sailsrc.paths.public = \"./.www\"; sailsrc.hooks = sailsrc.hooks || {}; sailsrc.hooks.grunt = false; require(\"fs\").writeFileSync(\"./.sailsrc\", JSON.stringify(sailsrc))' && echo 'Build is complete. Ready to deploy.'",
|
|
"build": "echo '\"npm run build\" deliberately left unimplemented to prevent its use, since different platforms like Heroku and GitHub Actions all like to try and run it by default, which can lead to inadvertent duplication and unnecessary lock-in, since one has to find the config to turn that off.'",
|
|
"lint": "./node_modules/eslint/bin/eslint.js . --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look so good.' && ./node_modules/htmlhint/bin/htmlhint -c ./.htmlhintrc views/*.ejs && ./node_modules/htmlhint/bin/htmlhint -c ./.htmlhintrc views/**/*.ejs && ./node_modules/htmlhint/bin/htmlhint -c ./.htmlhintrc views/**/**/*.ejs && ./node_modules/htmlhint/bin/htmlhint -c ./.htmlhintrc views/pages/**/**/*.ejs && ./node_modules/htmlhint/bin/htmlhint -c ./.htmlhintrc views/pages/**/**/**/*.ejs && ./node_modules/htmlhint/bin/htmlhint -c ./.htmlhintrc views/pages/**/**/**/**/*.ejs && ./node_modules/htmlhint/bin/htmlhint -c ./.htmlhintrc views/pages/**/**/**/**/**/*.ejs && echo '✔ So do your .ejs files.' && ./node_modules/lesshint/bin/lesshint assets/styles/ --max-warnings=0 && echo '✔ Your .less files look good, too.'",
|
|
"start": "NODE_ENV=production node app.js",
|
|
"test": "npm run lint && npm run custom-tests && echo 'Done.'",
|
|
"wipe": "sails_datastores__default__adapter=sails-postgresql sails_datastores__default__ssl='{ \"rejectUnauthorized\": false }' sails lift --drop"
|
|
},
|
|
"main": "app.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/fleetdm/fleetdm-com.git"
|
|
},
|
|
"author": "mikermcneil",
|
|
"license": "SEE LICENSE IN ../LICENSE",
|
|
"engines": {
|
|
"node": "^12.6"
|
|
}
|
|
}
|