mirror of
https://github.com/idrawjs/idraw
synced 2026-05-24 01:58:27 +00:00
chore: add pnpm usage
This commit is contained in:
parent
222e6dc1a6
commit
ed1fb05e84
4 changed files with 12293 additions and 1 deletions
1
.npmrc
Normal file
1
.npmrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
# registry=https://registry.npmmirror.com
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
"name": "root",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"postinstall": "npm run build",
|
||||
"dev": "node ./scripts/dev.js",
|
||||
"dev:rollup": "node ./scripts/dev-rollup.js",
|
||||
"build": "npm run build:mod && npm run build:bundle && npm run build:min",
|
||||
|
|
@ -12,7 +13,7 @@
|
|||
"e2e": "mocha --exit ./__tests__/e2e.test.js",
|
||||
"init": "lerna bootstrap",
|
||||
"init:cnpm": "lerna bootstrap --npm-client=cnpm",
|
||||
"clear": "rm -rf ./packages/*/dist/ && rm -rf ./packages/*/esm/ && rm -rf ./packages/*/node_modules/",
|
||||
"clear": "rm -rf node_modules/ && rm -rf ./packages/*/dist/ && rm -rf ./packages/*/esm/ && rm -rf ./packages/*/node_modules/",
|
||||
"jest": "jest --config jest.config.js",
|
||||
"jest:update": "jest --update-snapshot --config jest.config.js",
|
||||
"cover": "jest --config jest.cover.js",
|
||||
|
|
|
|||
12288
pnpm-lock.yaml
Normal file
12288
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
2
pnpm-workspace.yaml
Normal file
2
pnpm-workspace.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
packages:
|
||||
- packages/*
|
||||
Loading…
Reference in a new issue