tkadlec / grunt-perfbudget

Grunt task for performance budgeting.
MIT License
856 stars 37 forks source link

Stepping through the documentation #40

Open mgifford opened 6 years ago

mgifford commented 6 years ago

I'm new to Grunt. I'm missing something. Seems like I've got a Gruntfile.js & package.json in a directory.

npm = v6.4.1

The Gruntfile.js is the text from your example with my API key.

I get this: $ npm install npm WARN grunt-contrib-jshint@2.0.0 requires a peer of grunt@>=0.4.0 but none is installed. You must install peer dependencies yourself. npm WARN grunt@1.0.0 No description npm WARN grunt@1.0.0 No repository field.

audited 264 packages in 1.339s found 0 vulnerabilities

Mikes-MacBook-Pro-2:Grunt mikegifford$ grunt Loading "Gruntfile.js" tasks...ERROR

SyntaxError: Unexpected token default Warning: Task "default" not found. Use --force to continue.

Aborted due to warnings.