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.3 to 1.1.4

2

package.json

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

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

@@ -8,0 +8,0 @@ "repository": {

@@ -73,4 +73,12 @@ grunt-ts

so that you can use use the variable `test.html` within your typescript to get the content of test.html
as a string :)
as a string. The motivatation is to remove http requests to load templates in various front end frameworks.
####Html 2 TypeScript usage in AngularJS
This is great for putting variables in templateCache : http://docs.angularjs.org/api/ng.$templateCache
or even using the html string directly by setting it to the `template` properties (directives/views) instead of `templateUrl`
####Html 2 TypeScript usage in EmberJS
You can specify this string to the template on a view : http://emberjs.com/api/classes/Ember.View.html
Specifically: http://stackoverflow.com/a/9867375/390330
###Live file watching and building

@@ -77,0 +85,0 @@ Can watch a directory for you and recompile your typescript files when any typescript file changes, gets added, gets removed.

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