Socket
Socket
Sign inDemoInstall

grunt-ts

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-ts - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

4

package.json

@@ -5,3 +5,3 @@ {

"description": "Compile and manage your TypeScript project",
"version": "1.1.7",
"version": "1.1.8",
"homepage": "https://github.com/basarat/grunt-ts",

@@ -26,3 +26,3 @@ "repository": {

"dependencies": {
"typescript": "0.9.1",
"typescript": "0.9.1-1",
"chokidar": "0.6.2",

@@ -29,0 +29,0 @@ "shelljs": "0.1.4",

@@ -11,5 +11,6 @@ grunt-ts

Comes with a video introduction : http://youtu.be/Km0DpfX5ZxM ,
If you already know grunt then skip to http://youtu.be/Km0DpfX5ZxM?t=11m16s
Check how it can help streamline your front end development : [Sample usage with AngularJS](http://www.youtube.com/watch?v=0-6vT7xgE4Y&hd=1)
Additional / longer / more basic video tutorial : http://youtu.be/Km0DpfX5ZxM
Following are some key features:

@@ -94,10 +95,26 @@ ======================

## Configuration Documentation
After you have grunt installed, you can install `grunt-ts` first:
## Installation Documentation
Install nodejs. Then install grunt-cli using `npm install -g grunt-cli`. Next you can install `grunt` and `grunt-ts` by creating a `package.json`
file containing the following:
npm install grunt-ts
```javascript
{
"devDependencies": {
"grunt" : "0.4.1",
"grunt-ts" : "latest"
}
}
```
and run `npm install` from the same directory. This will download both grunt and grunt-ts for you.
Then modify your `Gruntfile.js` file by adding the following line:
## Configuration Documentation
Create a `Gruntfile.js`. Modify it to load grunt-ts by adding the following lines:
grunt.loadNpmTasks('grunt-ts');
module.exports = function (grunt) {
// load the task
grunt.loadNpmTasks("grunt-ts");
// Configure grunt here
}

@@ -132,2 +149,7 @@ Then add some configuration for the plugin like so:

});
I also recommend adding a default taget you want to run in case you do not want to specify any arguments to grunt:
```
grunt.registerTask("default", ["ts:dev"]);
```

@@ -134,0 +156,0 @@ You can see a sample grunt file here : https://github.com/basarat/grunt-ts/blob/master/Gruntfile.js

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc