Comparing version 0.2.0 to 0.3.0
{ | ||
"source": { | ||
"include": "./src" | ||
"include": "./src", | ||
"includePattern": "\\.(jsx|js|ts|tsx)$" | ||
}, | ||
"opts": { | ||
"template": "./docs-template", | ||
"template": "node_modules/better-docs", | ||
"encoding": "utf-8", | ||
@@ -16,4 +17,11 @@ "destination": "./docs", | ||
"plugins": [ | ||
"plugins/markdown" | ||
] | ||
"plugins/markdown", | ||
"node_modules/better-docs/typescript" | ||
], | ||
"typescript": { | ||
"moduleRoot": "./src" | ||
}, | ||
"tags": { | ||
"allowUnknownTags": ["optional"] | ||
} | ||
} |
/*global document */ | ||
(function() { | ||
@@ -3,0 +4,0 @@ var source = document.getElementsByClassName('prettyprint source linenums'); |
{ | ||
"name": "str", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "⚙️ String manipulation library", | ||
@@ -12,12 +12,6 @@ "main": "dist/cjs/index.js", | ||
"start": "rollup -cw", | ||
"watch:docs": "npx nodemon --watch ./scripts/docs/tmpl --watch ./scripts/docs/static/styles --watch ./scripts/docs/static/scripts --ext tmpl,css,js --exec \"npm run build:docs\"", | ||
"build": "rollup -c", | ||
"prebuild": "rimraf ./dist", | ||
"build:docs": "rm -fr ./docs && jsdoc -c .jsdoc.json -R ./README.md", | ||
"postbuild:docs": "git add . && git com -am 'Deploy' && git push && npm version patch -m 'fix individual methods import' && npm publish ./dist", | ||
"deploy": "npm run build", | ||
"predeploy": "npm test", | ||
"postdeploy": "npx codecov -t 324aaa4d-c06b-49df-941b-8566b195f430 && npm run build:docs", | ||
"browser:test": "npx serve ./", | ||
"prebrowser:test": "npm run build", | ||
"docs:build": "rm -fr ./docs && jsdoc -c .jsdoc.json -R ./README.md", | ||
"docs:preview": "npx serve ./docs", | ||
"semantic-release": "semantic-release" | ||
@@ -45,10 +39,11 @@ }, | ||
"@types/mocha": "^8.0.3", | ||
"better-docs": "^2.3.2", | ||
"chai": "^4.2.0", | ||
"codecov": "^3.8.1", | ||
"eslint-utils": "^1.4.3", | ||
"eslint-utils": "^2.1.0", | ||
"jsdoc": "^3.6.6", | ||
"mocha": "^5.2.0", | ||
"nyc": "^14.1.1", | ||
"rimraf": "^2.7.1", | ||
"rollup": "^2.3.1", | ||
"mocha": "^8.2.1", | ||
"nyc": "^15.1.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.33.1", | ||
"rollup-plugin-cleanup": "^3.2.1", | ||
@@ -58,6 +53,6 @@ "rollup-plugin-copy": "^3.3.0", | ||
"rollup-plugin-typescript2": "^0.29.0", | ||
"standard": "^12.0.1", | ||
"semantic-release": "^17.2.2", | ||
"standard": "^16.0.1", | ||
"ts-node": "^9.0.0", | ||
"typescript": "^4.0.5", | ||
"semantic-release": "^17.2.2" | ||
"typescript": "^4.0.5" | ||
}, | ||
@@ -64,0 +59,0 @@ "nyc": { |
@@ -17,5 +17,6 @@ import trim from '../trim/trim' | ||
export default (string: string): string => trim(string) | ||
.toLowerCase() | ||
.split(' ') | ||
.reduce((acc, word, i) => acc + (i === 0 ? word : capitalize(word)), '') | ||
export default (string: string): string => | ||
trim(string) | ||
.toLowerCase() | ||
.split(' ') | ||
.reduce((acc, word, i) => acc + (i === 0 ? word : capitalize(word)), '') |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
314184
21
58
1737