Skip to content

Commit

Permalink
Update devDependencies to include @types/node in package.json and yar…
Browse files Browse the repository at this point in the history
…n.lock
  • Loading branch information
b3hr4d committed Apr 21, 2024
1 parent 10b8348 commit c9c646a
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 27 deletions.
2 changes: 1 addition & 1 deletion e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"start": "sh ./test.sh",
"test": "npx jest"
"test": "jest"
},
"dependencies": {
"@ic-reactor/core": "*",
Expand Down
2 changes: 1 addition & 1 deletion examples/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"build": "rimraf ./build && tsc",
"start:dev": "npx nodemon",
"start:dev": "nodemon",
"start": "npm run build && node build/index.js",
"lint": "eslint . --ext .ts",
"prettier-format": "run-script-os",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "lerna run test",
"lint": "eslint . --ext .ts",
"e2e": "cd e2e && sh ./test.sh",
"docs:serve": "npx serve@latest ./docs",
"docs:serve": "serve@latest ./docs",
"docs:build": "typedoc --options ./typedoc.json",
"lerna-publish": "yarn clean && yarn build && lerna publish"
},
Expand Down Expand Up @@ -43,6 +43,7 @@
"@testing-library/react": "^14.1",
"@tsconfig/recommended": "^1.0",
"@types/jest": "^29.5",
"@types/node": "^20.12",
"@types/react": "18.2",
"@types/react-test-renderer": "^18.0",
"@types/xmlhttprequest": "^1",
Expand Down
17 changes: 7 additions & 10 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,17 @@
"zustand": "^4.5"
},
"devDependencies": {
"@ic-reactor/parser": "^0.1.0-beta.1",
"@types/node": "^20.12.7",
"tsc-alias": "^1.8",
"typescript": "^5.4"
"@ic-reactor/parser": "^0.1.0-beta.1"
},
"scripts": {
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest",
"start": "tsc watch",
"bundle": "yarn bundle:dev && yarn bundle:prod",
"bundle:dev": "npx webpack --mode development",
"bundle:prod": "npx webpack --mode production",
"build:tsc": "tsc && npx tsc-alias",
"build": "tsc && npx tsc-alias && yarn bundle",
"clean": "npx rimraf dist && npx rimraf umd && npx rimraf node_modules"
"bundle:dev": "webpack --mode development",
"bundle:prod": "webpack --mode production",
"build:tsc": "tsc && tsc-alias",
"build": "tsc && tsc-alias && yarn bundle",
"clean": "rimraf dist && rimraf umd && rimraf node_modules"
},
"engines": {
"node": ">=10"
Expand Down
10 changes: 5 additions & 5 deletions packages/parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
},
"homepage": "https://github.com/b3hr4d/ic-reactor/tree/main/packages/parser#readme",
"scripts": {
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest",
"build": "npx wasm-pack build --release --target web --out-dir dist --out-name index",
"build:node": "npx wasm-pack build --release --target nodejs --out-dir dist --out-name index",
"build:builder": "npx wasm-pack build --release --out-dir dist --out-name index",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest",
"build": "wasm-pack build --release --target web --out-dir dist --out-name index",
"build:node": "wasm-pack build --release --target nodejs --out-dir dist --out-name index",
"build:builder": "wasm-pack build --release --out-dir dist --out-name index",
"start": "tsc watch",
"clean": "npx rimraf dist"
"clean": "rimraf dist"
},
"engines": {
"node": ">=10"
Expand Down
6 changes: 3 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
},
"homepage": "https://b3pay.github.io/ic-reactor/modules/react.html",
"scripts": {
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest",
"start": "tsc watch",
"build": "tsc",
"clean": "npx rimraf dist && npx rimraf umd"
"build": "tsc && tsc-alias",
"clean": "rimraf dist && rimraf umd"
},
"engines": {
"node": ">=10"
Expand Down
6 changes: 3 additions & 3 deletions packages/visitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"@ic-reactor/core": "^1.6.0-beta.6"
},
"scripts": {
"test": "npx jest",
"test": "jest",
"start": "tsc watch",
"build": "tsc && npx tsc-alias",
"clean": "npx rimraf dist"
"build": "tsc && tsc-alias",
"clean": "rimraf dist"
},
"engines": {
"node": ">=10"
Expand Down
4 changes: 1 addition & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2085,9 +2085,6 @@ __metadata:
"@dfinity/identity": "npm:^1.2"
"@dfinity/principal": "npm:^1.2"
"@ic-reactor/parser": "npm:^0.1.0-beta.1"
"@types/node": "npm:^20.12.7"
tsc-alias: "npm:^1.8"
typescript: "npm:^5.4"
zustand: "npm:^4.5"
peerDependencies:
"@dfinity/agent": ^1.2
Expand Down Expand Up @@ -11322,6 +11319,7 @@ __metadata:
"@testing-library/react": "npm:^14.1"
"@tsconfig/recommended": "npm:^1.0"
"@types/jest": "npm:^29.5"
"@types/node": "npm:^20.12.7"
"@types/react": "npm:18.2"
"@types/react-test-renderer": "npm:^18.0"
"@types/xmlhttprequest": "npm:^1"
Expand Down

0 comments on commit c9c646a

Please sign in to comment.