Remove Grunt
This commit is contained in:
@@ -3,11 +3,6 @@ language: node_js
|
||||
node_js: 10
|
||||
before_install:
|
||||
- export TZ=America/Chicago
|
||||
- npm install -g grunt-cli
|
||||
install: npm install
|
||||
before_script:
|
||||
- grunt
|
||||
after_script:
|
||||
- istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec --exit
|
||||
notifications:
|
||||
on_failure: change
|
||||
|
||||
21
Gruntfile.js
21
Gruntfile.js
@@ -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" ] );
|
||||
|
||||
};
|
||||
10
README.md
10
README.md
@@ -1,11 +1,11 @@
|
||||
<img align="left" height="150" src="http://albahra.com/opensprinkler/icon-new.png"><h3> OpenSprinkler Weather Service [](http://badge.fury.io/gh/OpenSprinkler%2FOpenSprinkler-Weather)</h3>
|
||||
[](https://travis-ci.org/) [](https://david-dm.org/OpenSprinkler/OpenSprinkler-Weather#info=dependencies)
|
||||
[Official Site][official] | [Support][help] | [Changelog][changelog]
|
||||
[](https://travis-ci.org/) [](https://david-dm.org/OpenSprinkler/OpenSprinkler-Weather#info=dependencies)
|
||||
[Official Site][official] | [Support][help] | [Changelog][changelog]
|
||||
<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).
|
||||
|
||||
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
|
||||
@@ -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*
|
||||
```
|
||||
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:~ $ 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:~ $ cd node-v11.4.0-linux-armv6l
|
||||
pi@OSPi:~ $ sudo cp -R * /usr/local/
|
||||
pi@OSPi:~ $ cd ..
|
||||
|
||||
826
package-lock.json
generated
826
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -16,7 +16,6 @@
|
||||
"dotenv": "^6.2.0",
|
||||
"express": "^4.16.4",
|
||||
"geo-tz": "^4.0.2",
|
||||
"grunt": "^1.0.4",
|
||||
"moment-timezone": "^0.5.25",
|
||||
"suncalc": "^1.8.0"
|
||||
},
|
||||
@@ -29,7 +28,6 @@
|
||||
"@types/node": "^10.14.6",
|
||||
"@types/suncalc": "^1.8.0",
|
||||
"chai": "^4.2.0",
|
||||
"grunt-contrib-jshint": "^1.1.0",
|
||||
"hippie": "^0.5.2",
|
||||
"istanbul": "^0.4.5",
|
||||
"mocha": "^5.2.0",
|
||||
|
||||
Reference in New Issue
Block a user