Skip to content

Commit 6d2920c

Browse files
authored
Merge pull request #3 from vlaraort/bower
Bower
2 parents 40cdc5d + a49eaf7 commit 6d2920c

File tree

6 files changed

+30
-4
lines changed

6 files changed

+30
-4
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ If the string to match has accents, it will only match exact matches (case-insen
1919

2020
`npm i -S ultimate-string-replace`
2121

22+
ultimate-string-replace is also published in bower
23+
24+
`bower install ultimate-string-replace`
25+
2226
## Usage
2327

2428
```

bower.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "ultimate-string-replace",
3+
"description": "JS module to improve string.prototype.replace",
4+
"main": "./build/bundle.js",
5+
"authors": [
6+
"Víctor Lara Ortega <victorlara@outlook.com>"
7+
],
8+
"license": "MIT",
9+
"keywords": [
10+
"string",
11+
"es6",
12+
"replace"
13+
],
14+
"homepage": "https://github.com/vlaraort/ultimate-string-replace",
15+
"ignore": [
16+
"**/.*",
17+
"node_modules",
18+
"bower_components",
19+
"test",
20+
"tests"
21+
]
22+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "JS module to improve string.prototype.replace",
55
"main": "./build/bundle.js",
6-
"module": "ultimate-string-replace.js",
6+
"module": "/src/ultimate-string-replace.js",
77
"scripts": {
88
"build": "webpack",
99
"test": "nyc mocha --require babel-core/register",
@@ -16,7 +16,7 @@
1616
"coverage:codecov": "codecov"
1717
},
1818
"author": "Víctor Lara Ortega <victorlara@outlook.com>",
19-
"license": "ISC",
19+
"license": "MIT",
2020
"devDependencies": {
2121
"babel-core": "^6.26.3",
2222
"babel-preset-es2015": "^6.24.1",
File renamed without changes.

test/ultimate-string-replace.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect } from 'chai';
22
import { it, describe } from 'mocha';
3-
import ultimateStringReplace from '../ultimate-string-replace';
3+
import ultimateStringReplace from '../src/ultimate-string-replace';
44

55
describe('string-replace', () => {
66
it('should wrap case - insensitive', () => {

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
entry: './ultimate-string-replace.js',
2+
entry: './src/ultimate-string-replace.js',
33
output: {
44
filename: './build/bundle.js',
55
},

0 commit comments

Comments
 (0)