a-wait-forit
Advanced tools
Comparing version 0.1.6 to 0.2.0
{ | ||
"name": "a-wait-forit", | ||
"version": "0.1.6", | ||
"version": "0.2.0", | ||
"description": "Async/await without try/catch", | ||
@@ -24,5 +24,7 @@ "keywords": [ | ||
"index.js.flow", | ||
"lib" | ||
"lib-flow", | ||
"lib-ts", | ||
"@types" | ||
], | ||
"main": "lib/index.js", | ||
"main": "lib-ts/index.js", | ||
"directories": { | ||
@@ -33,4 +35,14 @@ "lib": "src", | ||
"scripts": { | ||
"prepublishOnly": "npm run test && babel src --config-file ./.babelrc.json -d lib", | ||
"test": "flow check" | ||
"prebuild/flow": "rm -rf lib-flow", | ||
"build/flow": "babel src --config-file ./.babelrc.json -d lib-flow", | ||
"prebuild/ts": "rm -rf lib-ts", | ||
"build/ts": "tsc --outDir lib-ts --sourceMap", | ||
"build": "npm run build/flow && npm run build/ts", | ||
"prepublishOnly": "npm run test && npm run build", | ||
"test": "npm run test/flow && npm run test/ts", | ||
"test/flow": "flow check", | ||
"test/ts": "tsc --noEmit", | ||
"prettier": "prettier src --write", | ||
"preflow-to-ts": "npm run prettier", | ||
"flow-to-ts": "babel --plugins babel-plugin-flow-to-typescript src/index.js -o src/a-wait-forit.ts" | ||
}, | ||
@@ -43,4 +55,11 @@ "devDependencies": { | ||
"@babel/preset-flow": "^7.0.0", | ||
"flow-bin": "^0.92.0" | ||
"flow-bin": "^0.92.0", | ||
"prettier": "^2.8.1", | ||
"typescript": "^5.0.0-dev.20221222" | ||
}, | ||
"optionalDependencies": { | ||
"@babel/cli": "^7.20.7", | ||
"@babel/core": "^7.20.7", | ||
"babel-plugin-flow-to-typescript": "^0.6.0" | ||
} | ||
} |
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
8391
11
65
3
8