Socket
Socket
Sign inDemoInstall

tsickle

Package Overview
Dependencies
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsickle - npm Package Compare versions

Comparing version 0.25.0 to 0.25.5

src/class_decorator_downlevel_transformer.d.ts

23

package.json
{
"name": "tsickle",
"version": "0.25.0",
"version": "0.25.5",
"description": "Transpile TypeScript code to JavaScript with Closure annotations.",
"main": "built/src/tsickle.js",
"typings": "built/src/tsickle.d.ts",
"bin": "built/src/main.js",
"main": "src/tsickle.js",
"typings": "src/tsickle.d.ts",
"bin": "src/main.js",
"directories": {

@@ -12,3 +12,3 @@ "test": "test"

"files": [
"built/src/*"
"src/*"
],

@@ -22,6 +22,6 @@ "dependencies": {

"peerDependencies": {
"typescript": "2.5.3"
"typescript": ">=2.4.2 <2.6"
},
"devDependencies": {
"@bazel/typescript": "0.1.0",
"@bazel/typescript": "^0.3.1",
"@types/chai": "^3.4.32",

@@ -35,3 +35,2 @@ "@types/diff": "^3.2.0",

"@types/mkdirp": "^0.3.28",
"@types/mocha": "^2.2.31",
"@types/node": "^6.0.38",

@@ -41,2 +40,3 @@ "@types/source-map": "^0.5.1",

"chai": "^3.5.0",
"chai-diff": "^1.0.1",
"clang-format": "^1.0.55",

@@ -52,3 +52,2 @@ "diff": "^3.2.0",

"merge2": "^1.0.2",
"mocha": "^3.2.0",
"temp": "^0.8.1",

@@ -59,5 +58,5 @@ "tslint": "^5.4.2",

"scripts": {
"prepublish": "bazel build ...",
"prepack": "mkdir built && cp -R bazel-bin/src built/src",
"postpack": "rm -rf built",
"build": "bazel build //src/... && mkdir built && cp -R bazel-bin/src built/src && cp package.json README.md built",
"clean": "rm -rf built",
"test": "gulp test.check-format && gulp test.check-lint && bazel test ..."

@@ -64,0 +63,0 @@ },

@@ -34,6 +34,2 @@ # Tsickle - TypeScript to Closure Translator [![Linux build](https://travis-ci.org/angular/tsickle.svg?branch=master)](https://travis-ci.org/angular/tsickle) [![Windows build](https://ci.appveyor.com/api/projects/status/puxdblmlqbofqqt1/branch/master?svg=true)](https://ci.appveyor.com/project/alexeagle/tsickle/branch/master)

## Installation
- Execute `npm i` to install the dependencies.
## Usage

@@ -106,2 +102,12 @@

### One-time setup
Run `bazel run @yarn//:yarn --script_path=yarn_install.sh && ./yarn_install.sh`
to install the dependencies.
> This avoids occupying the `bazel` server, so that `yarn` can call `bazel`
> again.
> Ideally we should just use `bazel-run.sh @yarn//:yarn`, see
> https://stackoverflow.com/questions/47082298/how-can-users-get-bazel-run-sh
### Test commands

@@ -119,3 +125,3 @@

Run `UPDATE_GOLDENS=y bazel run test:golden_test` to have the test suite update
Run `UPDATE_GOLDENS=y bazel run test:golden_test` to have the test suite update
the goldens in `test_files/...`.

@@ -132,5 +138,7 @@

On a new branch, run `npm version <major|minor|patch|...> -m 'rel: %s'` (see
`npm help version` for details) to update the version in `package.json`, commit
the changes, and create a git tag. Push the branch, get it reviewed and merged,
then run `npm publish` from the master branch (you must be logged into the
`npm help version` for details). It will update the version in `package.json`,
commit the changes, and create a git tag. Now you push the branch, get it
reviewed and merged.
Run `./publish.sh` from the master branch (you must be logged into the
`angular` shared npm account).
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