File tree 1 file changed +13
-9
lines changed 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -74,21 +74,25 @@ Hacking on `fluent.js` is easy! To quickly get started clone the repo:
74
74
$ git clone https://github.com/projectfluent/fluent.js.git
75
75
$ cd fluent.js
76
76
77
- You'll need at least Node.js 12 LTS. Older versions are not supported.
77
+ You'll need at least ** Node.js 12** and ** npm v7** .
78
+ Older versions are not supported.
78
79
79
- Install the dependencies used by all packages:
80
+ Install the dependencies used by all packages, which are managed as
81
+ [ npm workspaces] ( https://docs.npmjs.com/cli/v7/using-npm/workspaces ) :
80
82
81
83
$ npm install
82
84
83
- Build all packages at once:
85
+ Build and test all packages at once:
84
86
85
- $ make
87
+ $ npm run dist
86
88
87
89
…which is equivalent to:
88
90
89
- $ make lint
90
- $ make test
91
- $ make build
91
+ $ npm run clean
92
+ $ npm run build --workspaces
93
+ $ npm run lint
94
+ $ npm run test
95
+ $ npm run docs --workspaces
92
96
93
- You can also ` cd ` into a package's directory and issue the above ` make `
94
- commands from there. Only this one package will be affected .
97
+ Each package may also be built separately by running ` npm run build ` in
98
+ its directory .
You can’t perform that action at this time.
0 commit comments