-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
283 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## Quickstart | ||
|
||
To install and build `quadbin-js` locally from source: | ||
|
||
```bash | ||
# install dependencies | ||
yarn | ||
|
||
# build package once | ||
yarn build | ||
``` | ||
|
||
To run tests, coverage, or a linter, you should execute `yarn build`, and afterward: | ||
|
||
```bash | ||
# run tests once | ||
yarn test | ||
``` | ||
|
||
## Releases | ||
|
||
1. Create a new version: `yarn version [ major | minor | patch | prerelease ]` | ||
|
||
2. Execute `yarn publish` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,20 +32,23 @@ | |
"build:esm": "tsc -p tsconfig/tsconfig.esm.json", | ||
"build:types": "tsc -p tsconfig/tsconfig.types.json", | ||
"build:umd": "webpack --config tsconfig/webpack.config.cjs", | ||
"lint": "npx prettier --check src", | ||
"lint": "prettier --check src", | ||
"test": "yarn lint && yarn test-fast", | ||
"test-fast": "npx ts-node node_modules/tape/bin/tape test/**/*.spec.js" | ||
"test-fast": "ts-node node_modules/tape/bin/tape test/**/*.spec.js", | ||
"prepublishOnly": "yarn build" | ||
}, | ||
"browser": { | ||
"jsdom": false | ||
}, | ||
"devDependencies": { | ||
"@babel/register": "^7.13.0", | ||
"@types/geojson": "^7946.0.14", | ||
"babel-loader": "^8.0.0", | ||
"babel-preset-minify": "^0.5.0", | ||
"prettier": "^2.4.1", | ||
"tape": "^5.3.0", | ||
"ts-loader": "^9.2.5", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^4.4.4", | ||
"webpack": "^5.52.1", | ||
"webpack-cli": "^4.8.0" | ||
|
@@ -54,6 +57,12 @@ | |
"node": ">=14" | ||
}, | ||
"dependencies": { | ||
"@mapbox/tile-cover": "3.0.1" | ||
"@mapbox/tile-cover": "3.0.1", | ||
"@math.gl/web-mercator": "^4.1.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"volta": { | ||
"node": "14.21.3", | ||
"yarn": "1.22.22" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.