-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.1.0 Migrate from Vite to CRA. Add JBX instead of local components. …
…Add base64 output option
- Loading branch information
1 parent
acb3430
commit a1c00c3
Showing
11 changed files
with
15,476 additions
and
3,919 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,22 +1,16 @@ | ||
module.exports = { | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
}, | ||
extends: ["eslint:recommended", "plugin:react/recommended"], | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended" | ||
], | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 12, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"rules": { | ||
} | ||
ecmaVersion: 12, | ||
sourceType: "module", | ||
}, | ||
plugins: ["react"], | ||
rules: {}, | ||
}; |
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,2 +1,24 @@ | ||
node_modules/ | ||
dist | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
/dist | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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,5 @@ | ||
# 1.1.0 | ||
- Add base64 output option | ||
- Replace internal components for JBX | ||
|
||
# 1.0.0 |
Large diffs are not rendered by default.
Oops, something went wrong.
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,33 +1,55 @@ | ||
{ | ||
"name": "img2css", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Convert any image to pure css.", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"deploy": "rm -rf dist && npm run build && touch dist/.nojekyll && gh-pages -d dist --dotfiles" | ||
"dev": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject", | ||
"predeploy": "npm run build", | ||
"deploy": "gh-pages -d build" | ||
}, | ||
"homepage": "https://javier.xyz/img2css/", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/javierbyte/img2css.git" | ||
}, | ||
"keywords": [], | ||
"keywords": [ | ||
"img2css", | ||
"images", | ||
"css", | ||
"experiments", | ||
"pixelart" | ||
], | ||
"author": "Javier Bórquez <[email protected]> (http://github.com/javierbyte)", | ||
"license": "CC0-1.0", | ||
"devDependencies": { | ||
"eslint": "^7.11.0", | ||
"eslint-plugin-react": "^7.21.4", | ||
"gh-pages": "^3.2.3", | ||
"vite": "^1.0.0-rc.1", | ||
"vite-plugin-react": "^3.0.0" | ||
"gh-pages": "^3.2.3" | ||
}, | ||
"dependencies": { | ||
"@pika/react": "^16.13.1", | ||
"@pika/react-dom": "^16.13.1", | ||
"canvas-image-utils": "^2.0.2", | ||
"capsize": "^1.1.0", | ||
"jbx": "^1.0.0", | ||
"lodash": "^4.17.20", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-scripts": "^4.0.0", | ||
"styled-components": "^5.2.0", | ||
"tinycolor2": "^1.4.2" | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
} | ||
} |
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.