This commit is contained in:
Philipp Kunz 2017-03-24 01:42:59 +01:00
commit 063eeaaa7f
14 changed files with 160 additions and 0 deletions

0
.gitignore vendored Normal file
View File

71
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,71 @@
# gitzone standard
image: hosttoday/ht-docker-node:npmci
cache:
paths:
- .yarn/
key: "$CI_BUILD_STAGE"
stages:
- test
- release
- trigger
- pages
testLEGACY:
stage: test
script:
- npmci test legacy
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
allow_failure: true
testLTS:
stage: test
script:
- npmci test lts
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
testSTABLE:
stage: test
script:
- npmci test stable
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
release:
stage: release
script:
- npmci publish
only:
- tags
tags:
- docker
trigger:
stage: trigger
script:
- npmci trigger
only:
- tags
tags:
- docker
pages:
image: hosttoday/ht-docker-node:npmci
stage: pages
script:
- npmci command yarn global add npmpage
- npmci command npmpage --publish gitlab
tags:
- docker
only:
- tags
artifacts:
expire_in: 1 week
paths:
- public

29
README.md Normal file
View File

@ -0,0 +1,29 @@
# smartlodash
lodash with typings
## Availabililty
[![npm](https://pushrocks.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/smartlodash)
[![git](https://pushrocks.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/smartlodash)
[![git](https://pushrocks.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/pushrocks/smartlodash)
[![docs](https://pushrocks.gitlab.io/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/smartlodash/)
## Status for master
[![build status](https://GitLab.com/pushrocks/smartlodash/badges/master/build.svg)](https://GitLab.com/pushrocks/smartlodash/commits/master)
[![coverage report](https://GitLab.com/pushrocks/smartlodash/badges/master/coverage.svg)](https://GitLab.com/pushrocks/smartlodash/commits/master)
[![npm downloads per month](https://img.shields.io/npm/dm/smartlodash.svg)](https://www.npmjs.com/package/smartlodash)
[![Dependency Status](https://david-dm.org/pushrocks/smartlodash.svg)](https://david-dm.org/pushrocks/smartlodash)
[![bitHound Dependencies](https://www.bithound.io/github/pushrocks/smartlodash/badges/dependencies.svg)](https://www.bithound.io/github/pushrocks/smartlodash/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/pushrocks/smartlodash/badges/code.svg)](https://www.bithound.io/github/pushrocks/smartlodash)
[![TypeScript](https://img.shields.io/badge/TypeScript-2.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/)
[![node](https://img.shields.io/badge/node->=%206.x.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/)
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
## Usage
Use TypeScript for best in class instellisense.
For further information read the linked docs at the top of this README.
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
[![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://push.rocks)

View File

@ -0,0 +1,2 @@
{
}

0
coverage/lcov.info Normal file
View File

2
dist/index.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
import * as lodash from 'lodash';
export { lodash };

5
dist/index.js vendored Normal file
View File

@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const lodash = require("lodash");
exports.lodash = lodash;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGlDQUFnQztBQUc1Qix3QkFBTSJ9

28
package.json Normal file
View File

@ -0,0 +1,28 @@
{
"name": "smartlodash",
"version": "1.0.0",
"description": "lodash with typings",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"test": "(npmts)"
},
"repository": {
"type": "git",
"url": "git+ssh://git@gitlab.com/pushrocks/smartlodash.git"
},
"keywords": [
"lodash",
"typings"
],
"author": "Lossless GmbH",
"license": "MIT",
"bugs": {
"url": "https://gitlab.com/pushrocks/smartlodash/issues"
},
"homepage": "https://gitlab.com/pushrocks/smartlodash#README",
"dependencies": {
"@types/lodash": "^4.14.56",
"lodash": "^4.17.4"
}
}

0
test/test.d.ts vendored Normal file
View File

3
test/test.js Normal file
View File

@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9

1
test/test.ts Normal file
View File

@ -0,0 +1 @@
import * as smartlodash from '../dist/index'

5
ts/index.ts Normal file
View File

@ -0,0 +1,5 @@
import * as lodash from 'lodash'
export {
lodash
}

3
tslint.json Normal file
View File

@ -0,0 +1,3 @@
{
"extends": "tslint-config-standard"
}

11
yarn.lock Normal file
View File

@ -0,0 +1,11 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@types/lodash@^4.14.56":
version "4.14.56"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.56.tgz#e7ed952ca250c5bdfbf6e75598c137785c41170e"
lodash@^4.17.4:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"