Skip to content

Commit 23165cd

Browse files
committed
Updated js-framework
1 parent 7ecfcf9 commit 23165cd

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,11 @@ implementation which provides the following classes:
88
* __Model class__: subclass this for your JSON models, and separately define the members of your class;
99
* __View classes__: classes are provided for form, list, button, etc.
1010

11+
## Usage
12+
13+
You'll need to use `npm` to install as a dependency in your module:
14+
15+
```bash
16+
[bash] npm install github:djthorpe/js-framework
17+
```
1118

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
{
2-
"name": "js-framework",
3-
"version": "0.0.2",
2+
"name": "@djthorpe/js-framework",
3+
"version": "0.0.3",
44
"description": "Javascript UI Framework",
55
"main": "dist/js/index.js",
66
"scripts": {
77
"all": "npm-run-all js-lint js-compile js-minify",
88
"js-lint": "eslint js",
99
"js-compile": "rollup --name mvc --config config/rollup.config.js --sourcemap",
10-
"js-minify": "terser --source-map \"content=dist/js/index.js.map\" --output dist/js/index.min.js -- dist/js/index.js",
11-
"copy-bootstrap": "copy-node-modules node_modules/bootstrap/dist dist"
10+
"js-minify": "terser --source-map \"content=dist/js/index.js.map\" --output dist/js/index.min.js -- dist/js/index.js"
1211
},
1312
"repository": {
1413
"type": "git",
1514
"url": "git+https://github.com/djthorpe/js-framework.git"
1615
},
16+
"publishConfig": {
17+
"registry":"https://npm.pkg.github.com"
18+
},
1719
"author": "",
1820
"license": "ISC",
1921
"bugs": {

0 commit comments

Comments
 (0)