chore(package): re-init package with commitizen and standard-release

This commit is contained in:
Pavel Pertsev
2018-05-16 12:54:46 +03:00
parent cb4e7a5643
commit eaf2328575
10640 changed files with 609660 additions and 117 deletions

4
node_modules/get-caller-file/README.md generated vendored Normal file
View File

@@ -0,0 +1,4 @@
# get-caller-file
[![Build Status](https://travis-ci.org/ember-cli/ember-cli.svg?branch=master)](https://travis-ci.org/ember-cli/ember-cli)
[![Build status](https://ci.appveyor.com/api/projects/status/ol2q94g1932cy14a/branch/master?svg=true)](https://ci.appveyor.com/project/embercli/get-caller-file/branch/master)

20
node_modules/get-caller-file/index.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
'use strict';
// Call this function in a another function to find out the file from
// which that function was called from. (Inspects the v8 stack trace)
//
// Inspired by http://stackoverflow.com/questions/13227489
module.exports = function getCallerFile(_position) {
var oldPrepareStackTrace = Error.prepareStackTrace;
Error.prepareStackTrace = function(err, stack) { return stack; };
var stack = new Error().stack;
Error.prepareStackTrace = oldPrepareStackTrace;
var position = _position ? _position : 2;
// stack[0] holds this file
// stack[1] holds where this function was called
// stack[2] holds the file we're interested in
return stack[position] ? stack[position].getFileName() : undefined;
};

31
node_modules/get-caller-file/package.json generated vendored Normal file
View File

@@ -0,0 +1,31 @@
{
"name": "get-caller-file",
"version": "1.0.2",
"description": "",
"main": "index.js",
"directories": {
"test": "tests"
},
"files": [
"index.js"
],
"scripts": {
"test": "mocha test",
"test:debug": "mocha test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stefanpenner/get-caller-file.git"
},
"author": "Stefan Penner",
"license": "ISC",
"bugs": {
"url": "https://github.com/stefanpenner/get-caller-file/issues"
},
"homepage": "https://github.com/stefanpenner/get-caller-file#readme",
"devDependencies": {
"chai": "^3.4.1",
"ensure-posix-path": "^1.0.1",
"mocha": "^2.3.4"
}
}