mocoolka-function
Version:
Function lib for function.
88 lines (87 loc) • 2.24 kB
JSON
{
"name": "mocoolka-function",
"version": "0.1.7",
"description": "Function lib for function.",
"typings": "lib/index.d.ts",
"files": [
"lib",
"lib-umd",
"LICENSE"
],
"engines": {
"node": ">=6.0.0"
},
"main": "lib/index.js",
"directories": {
"example": "examples",
"test": "tests"
},
"scripts": {
"test": "cross-env NODE_ENV=test jest",
"watch": "jest --watch --notify",
"coverage": "rimraf coverage && jest --coverage",
"travis": "yarn run lint && yarn test",
"lint": "node_modules/.bin/tslint -c tslint.json src/**/*.ts test/**/*.ts",
"lint-fix": "node_modules/.bin/tslint -c tslint.json src/**/*.ts test/**/*.ts --fix ",
"docs": "rimraf docs && typedoc --name mocoolka-function --readme APIDOC.md --module commonjs --out docs --target es6 --hideGenerator src",
"docs-publish": "yarn run docs && gh-pages -d docs -t",
"build:fast": "rimraf lib && tsc",
"build": "rimraf lib && rimraf lib-umd && yarn run lint && tsc && yarn test& webpack && size-limit ",
"build-prod": "yarn run build && yarn run docs-publish",
"prepublishOnly": "yarn run build-prod"
},
"devDependencies": {
"@types/jest": "^20.0.8",
"awesome-typescript-loader": "^3.2.3",
"cat": "^0.2.0",
"cross-env": "^5.0.5",
"gh-pages": "^1.0.0",
"jest": "^21.0.1",
"rimraf": "^2.6.1",
"size-limit": "^0.11.0",
"tslint": "^5.7.0",
"typedoc": "^0.8.0",
"typescript": "^2.5.2",
"webpack": "^3.5.5"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"collectCoverageFrom": [
"src/**/*.{ts}"
],
"coverageThreshold": {
"global": {
"statements": 98,
"branches": 70,
"functions": 98,
"lines": 98
}
},
"moduleDirectories": [
"node_modules"
],
"transform": {
"^.+\\.ts$": "<rootDir>/preprocessor.js"
},
"testMatch": [
"<rootDir>/tests/**/*.ts"
]
},
"size-limit": [
{
"path": "lib-umd/mocoolka-function.min.js",
"limit": "5 KB"
}
],
"keywords": [
"functional",
"function",
"mocoolka"
],
"author": "fastspeeed@gmail.com",
"license": "MIT",
"dependencies": {}
}