Skip to content

Commit d5bfe64

Browse files
authored
chore: move to npm, drop yarn (#305)
* chore: move to npm, drop yarn * 2.5.1 * update pipeline
2 parents 2f99366 + aa4ac32 commit d5bfe64

12 files changed

+4261
-2772
lines changed

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
yarn lint-staged
4+
npx lint-staged

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ go();
123123

124124
## Development
125125

126-
- `yarn install`
126+
- `npm install`
127127
- Make necessary changes in [`lib`](./lib)
128-
- `yarn compile` (or `yarn watch`)
129-
- In [`sample`](./sample), run `yarn install`, `yarn compile` and `yarn test` to make sure integration test can run successfully
128+
- `npm run compile` (or `npm run watch`)
129+
- In [`sample`](./sample), run `npm install`, `npm run compile` and `npm run test` to make sure integration test can run successfully
130130

131131
## License
132132

0 commit comments

Comments
 (0)