Skip to content

Commit

Permalink
chore(NPM): Add to npm as textangular
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonC authored and SimeonC committed Jan 20, 2015
1 parent 04e5c4b commit 8185669
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -35,6 +35,17 @@ Include script tags similar to the following:
<script src='/bower_components/textAngular/dist/textAngular.min.js'></script>
```

**Via NPM:**

Run `npm install textangular` from the command line.
Include script tags similar to the following:
```html
<link rel='stylesheet' href='/node_modules/textangular/src/textAngular.css'>
<script src='/node_modules/textangular/dist/textAngular-rangy.min.js'></script>
<script src='/node_modules/textangular/dist/textAngular-sanitize.min.js'></script>
<script src='/node_modules/textangular/dist/textAngular.min.js'></script>
```

**Via CDNJS:**

Include script tags similar to the following:
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,7 +1,7 @@
{
"name": "textAngular",
"version": "1.3.0-23",
"main": ["./src/textAngular.js", "./src/textAngular-sanitize.js", "./src/textAngularSetup.js", "./src/textAngular.css", "../rangy/rangy-selectionsaverestore.js"],
"main": ["./dist/textAngular.minjs", "./dist/textAngular-sanitize.minjs", "./src/textAngular.css", "./dist/textAngular-rangy.min.js"],
"description": "A radically powerful Text-Editor/Wysiwyg editor for Angular.js",
"keywords": [
"editor",
Expand Down
8 changes: 7 additions & 1 deletion package.json
@@ -1,5 +1,5 @@
{
"name": "textAngular",
"name": "textangular",
"filename": "textAngular.min.js",
"version": "1.3.0-23",
"description": "A radically powerful Text-Editor/Wysiwyg editor for Angular.js",
Expand All @@ -20,6 +20,12 @@
"license": "MIT",
"homepage": "http://textangular.com",
"main": "./dist/textAngular.min.js",
"browserDependencies": {
"angular": "^1.2.x",
"rangy": "^1.2.0",
"bootstrap": "^3.0.x",
"font-awesome": "^4.0.x"
},
"devDependencies": {
"bower": "^1.3.3",
"grunt": "~0.4.2",
Expand Down

0 comments on commit 8185669

Please sign in to comment.