-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
42 changed files
with
207 additions
and
36 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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ | ||
"extends": [ | ||
"lxsmnsyc/typescript" | ||
], | ||
"root": true, | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
"project": [ | ||
"./tsconfig.eslint.json", | ||
"./packages/*/tsconfig.json" | ||
] | ||
}, | ||
"rules": { | ||
"no-bitwise": "off" | ||
} | ||
"extends": [ | ||
"lxsmnsyc/typescript" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -73,4 +73,4 @@ typings/ | |
.serverless | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
.fusebox/ |
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,13 @@ | ||
# blurhash-as | ||
|
||
> Lazily render components | ||
## Packages | ||
|
||
| Package | Version | Example | Notes | | ||
| --- | --- | --- | --- | | ||
| [`blurhash-as`](https://github.com/lxsmnsyc/laze/tree/main/packages/blurhash-as) | [![NPM](https://img.shields.io/npm/v/blurhash-as.svg)](https://www.npmjs.com/package/blurhash-as) | [![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?style=flat-square&logo=codesandbox)](https://codesandbox.io/s/github/lxsmnsyc/blurhash-as/tree/main/examples/blurhash-as) | demo | | ||
|
||
## License | ||
|
||
MIT © [lxsmnsyc](https://github.com/lxsmnsyc) |
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,21 @@ | ||
{ | ||
"npmClient": "yarn", | ||
"useWorkspaces": true, | ||
"packages": [ | ||
"packages/*", | ||
"examples/*" | ||
], | ||
"command": { | ||
"version": { | ||
"exact": true | ||
}, | ||
"publish": { | ||
"npmClient": "yarn", | ||
"allowBranch": [ | ||
"main" | ||
], | ||
"registry": "https://registry.npmjs.org/" | ||
} | ||
}, | ||
"version": "0.0.0" | ||
} |
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 |
---|---|---|
@@ -1,39 +1,37 @@ | ||
{ | ||
"name": "blurhash-as", | ||
"name": "blurhash-as-workspace", | ||
"version": "0.0.0", | ||
"main": "index.js", | ||
"author": "Alexis Munsayac <[email protected]>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@assemblyscript/loader": "^0.19.4" | ||
"private": true, | ||
"workspaces": [ | ||
"packages/*", | ||
"examples/*" | ||
], | ||
"scripts": { | ||
"lint": "lerna run lint", | ||
"bootstrap": "lerna bootstrap", | ||
"clean": "lerna run clean", | ||
"build": "lerna run build", | ||
"type-check": "lerna run type-check", | ||
"test": "lerna run test", | ||
"test:coverage": "lerna run test -- --coverage", | ||
"lerna": "lerna" | ||
}, | ||
"devDependencies": { | ||
"assemblyscript": "^0.19.4", | ||
"benny": "^3.6.15", | ||
"blurhash": "^1.1.3", | ||
"eslint": "^7.29.0", | ||
"eslint-config-lxsmnsyc": "^0.2.3", | ||
"image-encode": "^1.3.1", | ||
"image-pixels": "^2.2.2", | ||
"typescript": "^4.3.4" | ||
}, | ||
"scripts": { | ||
"asbuild:untouched": "asc assembly/index.ts --target debug --exportRuntime", | ||
"asbuild:optimized": "asc assembly/index.ts --target release --exportRuntime", | ||
"asbuild": "yarn asbuild:untouched && yarn asbuild:optimized", | ||
"test": "node tests" | ||
"@typescript-eslint/parser": "^4.26.1", | ||
"eslint": "^7.28.0", | ||
"eslint-config-lxsmnsyc": "^0.2.1", | ||
"lerna": "^4.0.0", | ||
"typescript": "^4.3.2" | ||
}, | ||
"description": "Blurhash algorithm implementation in AssemblyScript", | ||
"repository": { | ||
"url": "https://github.com/lxsmnsyc/ecmason.git", | ||
"url": "https://github.com/lxsmnsyc/blurhash-as.git", | ||
"type": "git" | ||
}, | ||
"homepage": "https://github.com/lxsmnsyc/ecmason", | ||
"homepage": "https://github.com/lxsmnsyc/blurhash-as", | ||
"bugs": { | ||
"url": "https://github.com/lxsmnsyc/ecmason/issues" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"author": "Alexis Munsayac", | ||
"private": false | ||
} | ||
"url": "https://github.com/lxsmnsyc/blurhash-as/issues" | ||
} | ||
} |
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,11 @@ | ||
{ | ||
"extends": [ | ||
"lxsmnsyc/typescript" | ||
], | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"rules": { | ||
"no-bitwise": "off" | ||
} | ||
} |
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,76 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
|
||
# next.js build output | ||
.next | ||
|
||
# nuxt.js build output | ||
.nuxt | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless | ||
|
||
# FuseBox cache | ||
.fusebox/ |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,51 @@ | ||
{ | ||
"name": "blurhash-as", | ||
"version": "0.0.0", | ||
"types": "index.d.ts", | ||
"main": "index.js", | ||
"module": "index.esm.js", | ||
"exports": { | ||
".": { | ||
"require": "./index.js", | ||
"import": "./index.esm.js" | ||
}, | ||
"./browser": { | ||
"require": "./index.browser.js", | ||
"import": "./index.browser.esm.js" | ||
} | ||
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"@assemblyscript/loader": "^0.19.4" | ||
}, | ||
"devDependencies": { | ||
"assemblyscript": "^0.19.4", | ||
"benny": "^3.6.15", | ||
"blurhash": "^1.1.3", | ||
"eslint": "^7.29.0", | ||
"eslint-config-lxsmnsyc": "^0.2.3", | ||
"image-encode": "^1.3.1", | ||
"image-pixels": "^2.2.2", | ||
"typescript": "^4.3.4" | ||
}, | ||
"scripts": { | ||
"asbuild:untouched": "asc assembly/index.ts --target debug --exportRuntime", | ||
"asbuild:optimized": "asc assembly/index.ts --target release --exportRuntime", | ||
"asbuild": "yarn asbuild:untouched && yarn asbuild:optimized", | ||
"test": "node tests" | ||
}, | ||
"description": "Blurhash algorithm implementation in AssemblyScript", | ||
"repository": { | ||
"url": "https://github.com/lxsmnsyc/ecmason.git", | ||
"type": "git" | ||
}, | ||
"homepage": "https://github.com/lxsmnsyc/ecmason", | ||
"bugs": { | ||
"url": "https://github.com/lxsmnsyc/ecmason/issues" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"author": "Alexis Munsayac", | ||
"private": false | ||
} |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.