Remove Grunt

This commit is contained in:
Samer Albahra
2019-05-13 15:05:52 -05:00
parent e4604ee312
commit 62a010fb7d
5 changed files with 52 additions and 812 deletions

View File

@@ -3,11 +3,6 @@ language: node_js
node_js: 10 node_js: 10
before_install: before_install:
- export TZ=America/Chicago - export TZ=America/Chicago
- npm install -g grunt-cli
install: npm install install: npm install
before_script:
- grunt
after_script:
- istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec --exit
notifications: notifications:
on_failure: change on_failure: change

View File

@@ -1,21 +0,0 @@
module.exports = function( grunt ) {
// Load node-modules;
grunt.loadNpmTasks( "grunt-contrib-jshint" );
// Project configuration.
grunt.initConfig( {
pkg: grunt.file.readJSON( "package.json" ),
jshint: {
main: [ "Gruntfile.js", "server.js", "routes/*.js" ],
options: {
jshintrc: true
}
}
} );
// Default task(s).
grunt.registerTask( "default", [ "jshint" ] );
};

View File

@@ -1,11 +1,11 @@
<img align="left" height="150" src="http://albahra.com/opensprinkler/icon-new.png"><h3>&nbsp;OpenSprinkler Weather Service [![GitHub version](https://badge.fury.io/gh/OpenSprinkler%2FOpenSprinkler-Weather.svg)](http://badge.fury.io/gh/OpenSprinkler%2FOpenSprinkler-Weather)</h3> <img align="left" height="150" src="http://albahra.com/opensprinkler/icon-new.png"><h3>&nbsp;OpenSprinkler Weather Service [![GitHub version](https://badge.fury.io/gh/OpenSprinkler%2FOpenSprinkler-Weather.svg)](http://badge.fury.io/gh/OpenSprinkler%2FOpenSprinkler-Weather)</h3>
&nbsp;[![Build Status](https://api.travis-ci.org/OpenSprinkler/OpenSprinkler-Weather.svg?branch=master)](https://travis-ci.org/) [![devDependency Status](https://david-dm.org/OpenSprinkler/OpenSprinkler-Weather/status.svg)](https://david-dm.org/OpenSprinkler/OpenSprinkler-Weather#info=dependencies) &nbsp;[![Build Status](https://api.travis-ci.org/OpenSprinkler/OpenSprinkler-Weather.svg?branch=master)](https://travis-ci.org/) [![devDependency Status](https://david-dm.org/OpenSprinkler/OpenSprinkler-Weather/status.svg)](https://david-dm.org/OpenSprinkler/OpenSprinkler-Weather#info=dependencies)
&nbsp;[Official Site][official] | [Support][help] | [Changelog][changelog] &nbsp;[Official Site][official] | [Support][help] | [Changelog][changelog]
<br> <br>
This script is used by OpenSprinkler Unified Firmware to update the water level of the device. It also provides timezone information based on user location along with other local information (sunrise, sunset, daylights saving time, etc). This script is used by OpenSprinkler Unified Firmware to update the water level of the device. It also provides timezone information based on user location along with other local information (sunrise, sunset, daylights saving time, etc).
The production version runs on Amazon Elastic Beanstalk (AWS EB) and therefore this package is tailored to be zipped and uploaded to AWS EB. The script is written in Javascript for Node.JS. The production version runs on Amazon Elastic Beanstalk (AWS EB) and therefore this package is tailored to be zipped and uploaded to AWS EB. The script is written in Javascript for Node.JS.
--- ---
[official]: https://opensprinkler.com [official]: https://opensprinkler.com
@@ -31,8 +31,8 @@ pi@OSPi:~ $ sudo apt install -y nodejs
*For Raspberry Pi Model A, B, B+, Zero and Compute Module based on the older ARMv6 chip, the process is slightly more convoluted* *For Raspberry Pi Model A, B, B+, Zero and Compute Module based on the older ARMv6 chip, the process is slightly more convoluted*
``` ```
pi@OSPi:~ $ wget https://nodejs.org/dist/v11.4.0/node-v11.4.0-linux-armv6l.tar.gz pi@OSPi:~ $ wget https://nodejs.org/dist/v11.4.0/node-v11.4.0-linux-armv6l.tar.gz
pi@OSPi:~ $ tar -xvf node-v11.4.0-linux-armv6l.tar.gz pi@OSPi:~ $ tar -xvf node-v11.4.0-linux-armv6l.tar.gz
pi@OSPi:~ $ cd node-v11.4.0-linux-armv6l pi@OSPi:~ $ cd node-v11.4.0-linux-armv6l
pi@OSPi:~ $ sudo cp -R * /usr/local/ pi@OSPi:~ $ sudo cp -R * /usr/local/
pi@OSPi:~ $ cd .. pi@OSPi:~ $ cd ..

826
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,6 @@
"dotenv": "^6.2.0", "dotenv": "^6.2.0",
"express": "^4.16.4", "express": "^4.16.4",
"geo-tz": "^4.0.2", "geo-tz": "^4.0.2",
"grunt": "^1.0.4",
"moment-timezone": "^0.5.25", "moment-timezone": "^0.5.25",
"suncalc": "^1.8.0" "suncalc": "^1.8.0"
}, },
@@ -29,7 +28,6 @@
"@types/node": "^10.14.6", "@types/node": "^10.14.6",
"@types/suncalc": "^1.8.0", "@types/suncalc": "^1.8.0",
"chai": "^4.2.0", "chai": "^4.2.0",
"grunt-contrib-jshint": "^1.1.0",
"hippie": "^0.5.2", "hippie": "^0.5.2",
"istanbul": "^0.4.5", "istanbul": "^0.4.5",
"mocha": "^5.2.0", "mocha": "^5.2.0",