create-near-app 3.0.0-pre.7.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"build": "npm run build:contract && npm run build:web",
|
|
7
7
|
"build:contract": "cd contract && npm run build && mkdir -p ../out && rm -f ./out/main.wasm && cp ./build/release/greeter.wasm ../out/main.wasm",
|
|
8
8
|
"build:web": "parcel build frontend/index.html --public-url ./",
|
|
9
|
-
"deploy": "npm run build && near dev-deploy",
|
|
9
|
+
"deploy": "npm run build:contract && near dev-deploy",
|
|
10
10
|
"start": "npm run deploy && echo The app is starting! It will automatically open in your browser when ready && env-cmd -f ./neardev/dev-account.env parcel frontend/index.html --open",
|
|
11
11
|
"dev": "nodemon --watch contract -e ts --exec \"npm run start\"",
|
|
12
12
|
"test": "npm run build:contract && npm run test:unit && npm run test:integration",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"build": "npm run build:contract && npm run build:web",
|
|
7
7
|
"build:contract": "cd contract && npm run build && mkdir -p ../out && rm -f ./out/main.wasm && cp ./build/release/greeter.wasm ../out/main.wasm",
|
|
8
8
|
"build:web": "parcel build frontend/index.html --public-url ./",
|
|
9
|
-
"deploy": "npm run build && near dev-deploy",
|
|
9
|
+
"deploy": "npm run build:contract && near dev-deploy",
|
|
10
10
|
"start": "npm run deploy && echo The app is starting! && env-cmd -f ./neardev/dev-account.env parcel frontend/index.html --open",
|
|
11
11
|
"dev": "nodemon --watch contract -e ts --exec \"npm run start\"",
|
|
12
12
|
"test": "npm run build:contract && npm run test:unit && npm run test:integration",
|