11{
22 "name" : " safe-trim" ,
3- "version" : " 1.0.15 " ,
3+ "version" : " 1.1.0 " ,
44 "description" : " trim sting and remove zero-width-space in content" ,
5+ "keywords" : [
6+ " no-break" ,
7+ " safeTrim" ,
8+ " space" ,
9+ " spaces" ,
10+ " trim" ,
11+ " unicode" ,
12+ " zero-width-space"
13+ ],
14+ "homepage" : " https://github.com/aligay/safe-trim#readme" ,
15+ "bugs" : {
16+ "url" : " https://github.com/aligay/safe-trim/issues"
17+ },
18+ "repository" : {
19+ "type" : " git" ,
20+ "url" : " git+https://github.com/aligay/safe-trim.git"
21+ },
22+ "license" : " MIT" ,
523 "author" : " Jerry" ,
624 "contributors" : [
725 " Jerry"
826 ],
927 "main" : " dist/safe-trim.common.js" ,
1028 "module" : " dist/safe-trim.es.js" ,
1129 "scripts" : {
12- "start" : " npm run dev" ,
13- "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" ,
30+ "babel-node" : " babel-node --presets es2015,es2016,es2017 --plugins transform-runtime" ,
1431 "build" : " npm run clear && cross-env NODE_ENV=production npm run lint && npm run babel-node .config/rollup.config.js" ,
15- "lint" : " eslint --ext .js,.vue src .config .script test/*_spec.js" ,
1632 "clear" : " rimraf dist .nyc_output coverage; mkdirp dist" ,
17- "prepublish" : " npm run test" ,
18- "babel-node" : " babel-node --presets es2015,es2016,es2017 --plugins transform-runtime" ,
33+ "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" ,
1934 "fix" : " standard src/**/*.js --fix >/dev/null 2>&1" ,
20- "test" : " npm run build && npm run jasmine" ,
21- "jasmine" : " istanbul cover jasmine-node spec"
35+ "jasmine" : " istanbul cover jasmine-node spec" ,
36+ "lint" : " eslint --ext .js,.vue src .config scripts spec/*_spec.js" ,
37+ "prepublish" : " npm run test" ,
38+ "start" : " npm run dev" ,
39+ "test" : " npm run build && npm run jasmine"
2240 },
2341 "config" : {
2442 "ghooks" : {
2543 "pre-commit" : " cross-env NODE_ENV=production node scripts/checkVersion.js && npm run lint && npm run test" ,
2644 "pre-push" : " git status"
2745 }
2846 },
29- "ava" : {
30- "require" : [
31- " ./test/helpers/setup-browser-env.js"
32- ]
33- },
34- "keywords" : [
35- " safeTrim" ,
36- " trim" ,
37- " unicode" ,
38- " spaces" ,
39- " no-break" ,
40- " space" ,
41- " zero-width-space" ,
42- " space"
43- ],
44- "license" : " MIT" ,
4547 "devDependencies" : {
46- "autoprefixer" : " ^7.2.5 " ,
47- "ava" : " ^0.24.0 " ,
48+ "autoprefixer" : " ^9.4.9 " ,
49+ "ava" : " ^1.2.1 " ,
4850 "babel-cli" : " ^6.24.0" ,
49- "babel-eslint" : " ^8.2 .1" ,
51+ "babel-eslint" : " ^10.0 .1" ,
5052 "babel-plugin-transform-runtime" : " ^6.15.0" ,
5153 "babel-preset-es2015" : " ^6.24.1" ,
5254 "babel-preset-es2016" : " ^6.24.1" ,
5355 "babel-preset-es2017" : " ^6.24.1" ,
5456 "browser-env" : " ^3.2.4" ,
5557 "compare-versions" : " ^3.0.0" ,
5658 "cross-env" : " ^5.1.3" ,
57- "css-loader" : " ^0.28.8 " ,
58- "eslint" : " ^4.15.0 " ,
59- "eslint-config-standard" : " ^10.2.1 " ,
60- "eslint-friendly-formatter" : " ^3 .0.0 " ,
61- "eslint-loader" : " ^1.6.1 " ,
59+ "css-loader" : " ^2.1.0 " ,
60+ "eslint" : " ^5.14.1 " ,
61+ "eslint-config-standard" : " ^12.0.0 " ,
62+ "eslint-friendly-formatter" : " ^4 .0.1 " ,
63+ "eslint-loader" : " ^2.1.2 " ,
6264 "eslint-plugin-flow-vars" : " ^0.5.0" ,
63- "eslint-plugin-html" : " ^4.0.1" ,
64- "eslint-plugin-promise" : " ^3.4.0" ,
65- "eslint-plugin-standard" : " ^3.0.1" ,
65+ "eslint-plugin-html" : " ^5.0.3" ,
66+ "eslint-plugin-import" : " ^2.16.0" ,
67+ "eslint-plugin-node" : " ^8.0.1" ,
68+ "eslint-plugin-promise" : " ^4.0.1" ,
69+ "eslint-plugin-standard" : " ^4.0.0" ,
6670 "ghooks" : " ^2.0.2" ,
67- "gzip-size" : " ^4.1 .0" ,
71+ "gzip-size" : " ^5.0 .0" ,
6872 "istanbul" : " ^0.4.5" ,
6973 "jasmine-node" : " ^1.14.5" ,
70- "less" : " ^2.7.1 " ,
74+ "less" : " ^3.9.0 " ,
7175 "less-loader" : " ^4.0.5" ,
7276 "mkdirp" : " ^0.5.1" ,
73- "nyc" : " ^11.4.1 " ,
74- "postcss-loader" : " ^2 .0.10 " ,
77+ "nyc" : " ^13.3.0 " ,
78+ "postcss-loader" : " ^3 .0.0 " ,
7579 "postcss-px2rem" : " ^0.3.0" ,
7680 "rimraf" : " ^2.5.4" ,
7781 "rollup-loader" : " ^0.3.0" ,
78- "rollup-plugin-buble" : " ^0.18.0 " ,
79- "rollup-plugin-commonjs" : " ^8 .2.6 " ,
82+ "rollup-plugin-buble" : " ^0.19.6 " ,
83+ "rollup-plugin-commonjs" : " ^9 .2.1 " ,
8084 "rollup-plugin-less" : " ^0.1.1" ,
81- "rollup-plugin-node-resolve" : " ^3 .0.2 " ,
85+ "rollup-plugin-node-resolve" : " ^4 .0.1 " ,
8286 "rollup-plugin-replace" : " ^2.0.0" ,
83- "rollup-plugin-uglify" : " ^2 .0.1 " ,
84- "rollup-plugin-vue" : " ^3.0.0 " ,
87+ "rollup-plugin-uglify" : " ^6 .0.2 " ,
88+ "rollup-plugin-vue" : " ^4.7.2 " ,
8589 "safe-trim" : " ^1.0.11" ,
86- "standard" : " ^10 .0.3 " ,
87- "style-loader" : " ^0.19 .1" ,
90+ "standard" : " ^12 .0.1 " ,
91+ "style-loader" : " ^0.23 .1" ,
8892 "typecheck" : " ^0.1.2" ,
8993 "uglify-js" : " ^3.3.7" ,
9094 "vue" : " ^2.2.6" ,
91- "vue-loader" : " ^13.7.0" ,
92- "webpack" : " ^3.10.0" ,
93- "webpack-dev-server" : " ^2.11.0" ,
95+ "vue-loader" : " ^15.6.4" ,
96+ "vue-template-compiler" : " ^2.6.7" ,
97+ "webpack" : " ^4.29.5" ,
98+ "webpack-dev-server" : " ^3.2.1" ,
9499 "webpack-merge" : " ^4.1.1" ,
95100 "webpack-notifier" : " ^1.4.1"
96101 },
97- "repository" : {
98- "type" : " git" ,
99- "url" : " git+https://github.com/haozi/safe-trim.git"
100- },
101- "bugs" : {
102- "url" : " https://github.com/haozi/safe-trim/issues"
103- },
104- "homepage" : " https://github.com/haozi/safe-trim#readme"
102+ "ava" : {
103+ "require" : [
104+ " ./test/helpers/setup-browser-env.js"
105+ ]
106+ }
105107}
0 commit comments