Comparing version 0.4.3-beta.0 to 0.4.3
@@ -7,3 +7,3 @@ { | ||
"license": "MIT", | ||
"version": "0.4.3-beta.0", | ||
"version": "0.4.3", | ||
"source": "src/main.ts", | ||
@@ -28,21 +28,13 @@ "main": "dist/mehdux.js", | ||
"scripts": { | ||
"release": | ||
"npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish", | ||
"release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish", | ||
"bundle:main": "microbundle", | ||
"dev:main": "microbundle watch --compress false", | ||
"dev:utils": | ||
"microbundle watch src/utils.ts -o ./utils.js -f cjs --compress false", | ||
"bundle:utils": | ||
"microbundle src/utils.ts -o ./utils.js -f cjs --compress false", | ||
"bundle:picodom": | ||
"microbundle src/bindings/picodom.ts -o ./picodom.js -f cjs", | ||
"bundle:preact": | ||
"microbundle src/bindings/preact/index.ts -o ./preact.js -f cjs", | ||
"bundle:react": | ||
"microbundle src/bindings/react/index.ts -o ./react.js -f cjs", | ||
"dev:utils": "microbundle watch src/utils.ts -o ./utils.js -f cjs --compress false", | ||
"bundle:utils": "microbundle src/utils.ts -o ./utils.js -f cjs --compress false", | ||
"bundle:picodom": "microbundle src/bindings/picodom.ts -o ./picodom.js -f cjs", | ||
"bundle:preact": "microbundle src/bindings/preact/index.ts -o ./preact.js -f cjs", | ||
"bundle:react": "microbundle src/bindings/react/index.ts -o ./react.js -f cjs", | ||
"prepare": "npm run build", | ||
"build": | ||
"npm run clean && npm run bundle:main && npm run bundle:utils && npm run bundle:picodom && npm run bundle:preact && npm run bundle:react", | ||
"clean": | ||
"rimraf dist preact.js preact.js.map react.js react.js.map picodom.js picodom.js.map utils.js utils.js.map", | ||
"build": "npm run clean && npm run bundle:main && npm run bundle:utils && npm run bundle:picodom && npm run bundle:preact && npm run bundle:react", | ||
"clean": "rimraf dist preact.js preact.js.map react.js react.js.map picodom.js picodom.js.map utils.js utils.js.map", | ||
"test": "echo 'should add some tests.. :)'" | ||
@@ -49,0 +41,0 @@ }, |
@@ -278,3 +278,3 @@ <div align="center"> | ||
}, | ||
fetchAndSetName: async (state, actions) => { | ||
fetchAndSetName: (state, actions) => async () => { | ||
const res = await fetch('https://myapi.com/v0') | ||
@@ -281,0 +281,0 @@ const user = await res.json() |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94778