-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
9,414 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,4 @@ | |
src/ | ||
test/ | ||
.nyc_output/ | ||
.script/ | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,107 @@ | ||
{ | ||
"name": "safe-trim", | ||
"version": "1.0.15", | ||
"version": "1.1.0", | ||
"description": "trim sting and remove zero-width-space in content", | ||
"keywords": [ | ||
"no-break", | ||
"safeTrim", | ||
"space", | ||
"spaces", | ||
"trim", | ||
"unicode", | ||
"zero-width-space" | ||
], | ||
"homepage": "https://github.com/aligay/safe-trim#readme", | ||
"bugs": { | ||
"url": "https://github.com/aligay/safe-trim/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/aligay/safe-trim.git" | ||
}, | ||
"license": "MIT", | ||
"author": "Jerry", | ||
"contributors": [ | ||
"Jerry" | ||
], | ||
"main": "dist/safe-trim.common.js", | ||
"module": "dist/safe-trim.es.js", | ||
"scripts": { | ||
"start": "npm run dev", | ||
"dev": "npm run clear && npm run fix && cross-env NODE_ENV=development webpack-dev-server --progress --config .config/webpack.dev.config.js --hot --inline --host 0.0.0.0 --port 8080", | ||
"babel-node": "babel-node --presets es2015,es2016,es2017 --plugins transform-runtime", | ||
"build": "npm run clear && cross-env NODE_ENV=production npm run lint && npm run babel-node .config/rollup.config.js", | ||
"lint": "eslint --ext .js,.vue src .config .script test/*_spec.js", | ||
"clear": "rimraf dist .nyc_output coverage; mkdirp dist", | ||
"prepublish": "npm run test", | ||
"babel-node": "babel-node --presets es2015,es2016,es2017 --plugins transform-runtime", | ||
"dev": "npm run clear && npm run fix && cross-env NODE_ENV=development webpack-dev-server --progress --config .config/webpack.dev.config.js --hot --inline --host 0.0.0.0 --port 8080", | ||
"fix": "standard src/**/*.js --fix >/dev/null 2>&1", | ||
"test": "npm run build && npm run jasmine", | ||
"jasmine": "istanbul cover jasmine-node spec" | ||
"jasmine": "istanbul cover jasmine-node spec", | ||
"lint": "eslint --ext .js,.vue src .config scripts spec/*_spec.js", | ||
"prepublish": "npm run test", | ||
"start": "npm run dev", | ||
"test": "npm run build && npm run jasmine" | ||
}, | ||
"config": { | ||
"ghooks": { | ||
"pre-commit": "cross-env NODE_ENV=production node scripts/checkVersion.js && npm run lint && npm run test", | ||
"pre-push": "git status" | ||
} | ||
}, | ||
"ava": { | ||
"require": [ | ||
"./test/helpers/setup-browser-env.js" | ||
] | ||
}, | ||
"keywords": [ | ||
"safeTrim", | ||
"trim", | ||
"unicode", | ||
"spaces", | ||
"no-break", | ||
"space", | ||
"zero-width-space", | ||
"space" | ||
], | ||
"license": "MIT", | ||
"devDependencies": { | ||
"autoprefixer": "^7.2.5", | ||
"ava": "^0.24.0", | ||
"autoprefixer": "^9.4.9", | ||
"ava": "^1.2.1", | ||
"babel-cli": "^6.24.0", | ||
"babel-eslint": "^8.2.1", | ||
"babel-eslint": "^10.0.1", | ||
"babel-plugin-transform-runtime": "^6.15.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-es2016": "^6.24.1", | ||
"babel-preset-es2017": "^6.24.1", | ||
"browser-env": "^3.2.4", | ||
"compare-versions": "^3.0.0", | ||
"cross-env": "^5.1.3", | ||
"css-loader": "^0.28.8", | ||
"eslint": "^4.15.0", | ||
"eslint-config-standard": "^10.2.1", | ||
"eslint-friendly-formatter": "^3.0.0", | ||
"eslint-loader": "^1.6.1", | ||
"css-loader": "^2.1.0", | ||
"eslint": "^5.14.1", | ||
"eslint-config-standard": "^12.0.0", | ||
"eslint-friendly-formatter": "^4.0.1", | ||
"eslint-loader": "^2.1.2", | ||
"eslint-plugin-flow-vars": "^0.5.0", | ||
"eslint-plugin-html": "^4.0.1", | ||
"eslint-plugin-promise": "^3.4.0", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"eslint-plugin-html": "^5.0.3", | ||
"eslint-plugin-import": "^2.16.0", | ||
"eslint-plugin-node": "^8.0.1", | ||
"eslint-plugin-promise": "^4.0.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"ghooks": "^2.0.2", | ||
"gzip-size": "^4.1.0", | ||
"gzip-size": "^5.0.0", | ||
"istanbul": "^0.4.5", | ||
"jasmine-node": "^1.14.5", | ||
"less": "^2.7.1", | ||
"less": "^3.9.0", | ||
"less-loader": "^4.0.5", | ||
"mkdirp": "^0.5.1", | ||
"nyc": "^11.4.1", | ||
"postcss-loader": "^2.0.10", | ||
"nyc": "^13.3.0", | ||
"postcss-loader": "^3.0.0", | ||
"postcss-px2rem": "^0.3.0", | ||
"rimraf": "^2.5.4", | ||
"rollup-loader": "^0.3.0", | ||
"rollup-plugin-buble": "^0.18.0", | ||
"rollup-plugin-commonjs": "^8.2.6", | ||
"rollup-plugin-buble": "^0.19.6", | ||
"rollup-plugin-commonjs": "^9.2.1", | ||
"rollup-plugin-less": "^0.1.1", | ||
"rollup-plugin-node-resolve": "^3.0.2", | ||
"rollup-plugin-node-resolve": "^4.0.1", | ||
"rollup-plugin-replace": "^2.0.0", | ||
"rollup-plugin-uglify": "^2.0.1", | ||
"rollup-plugin-vue": "^3.0.0", | ||
"rollup-plugin-uglify": "^6.0.2", | ||
"rollup-plugin-vue": "^4.7.2", | ||
"safe-trim": "^1.0.11", | ||
"standard": "^10.0.3", | ||
"style-loader": "^0.19.1", | ||
"standard": "^12.0.1", | ||
"style-loader": "^0.23.1", | ||
"typecheck": "^0.1.2", | ||
"uglify-js": "^3.3.7", | ||
"vue": "^2.2.6", | ||
"vue-loader": "^13.7.0", | ||
"webpack": "^3.10.0", | ||
"webpack-dev-server": "^2.11.0", | ||
"vue-loader": "^15.6.4", | ||
"vue-template-compiler": "^2.6.7", | ||
"webpack": "^4.29.5", | ||
"webpack-dev-server": "^3.2.1", | ||
"webpack-merge": "^4.1.1", | ||
"webpack-notifier": "^1.4.1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/haozi/safe-trim.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/haozi/safe-trim/issues" | ||
}, | ||
"homepage": "https://github.com/haozi/safe-trim#readme" | ||
"ava": { | ||
"require": [ | ||
"./test/helpers/setup-browser-env.js" | ||
] | ||
} | ||
} |
Oops, something went wrong.