File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -52,34 +52,35 @@ The `tests` directory represents the testing environment for ensuring native fun
5252Install Testing Environment Dependencies
5353
5454``` bash
55- $ npm install
55+ $ yarn install
5656```
5757
5858Install Local jschart Node Module
5959
6060``` bash
61- $ npm install --save ../jschart/
61+ $ cd jschart
62+ $ yarn link
63+ $ cd ../tests
64+ $ yarn link " jschart"
6265```
6366
64- This will create a reference to the ` jschart/ ` directory under dependencies in ` package.json ` :
67+ Verify Local jschart Node Module Installation
6568
66- ```
67- "dependencies": {
68- "jschart": "file:jschart"
69- }
69+ ``` bash
70+ $ readlink -e node_modules/jschart
7071```
7172
7273Start Development Server
7374
7475``` bash
75- $ npm start
76+ $ yarn start
7677```
7778
7879## Publishing Node Module
7980
8081``` bash
81- $ npm login
82- $ npm publish
82+ $ yarn login
83+ $ yarn publish
8384```
8485
8586## Detailed Usage
You can’t perform that action at this time.
0 commit comments