Initial commit
Showing
.babelrc
0 → 100644
.gitignore
0 → 100644
.gitlab-ci.yml
0 → 100644
README.md
0 → 100644
assets/favicon.ico
0 → 100644
4.19 KB
10.7 KB
5.65 KB
1.71 KB
205 Bytes
338 Bytes
1.37 KB
manifest.json
0 → 100644
package.json
0 → 100644
{ | ||
"private": true, | ||
"name": "apibin", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"scripts": { | ||
"start": "per-env", | ||
"start:production": "npm run -s serve", | ||
"start:development": "npm run -s dev", | ||
"build": "preact build", | ||
"serve": "preact build && serve build --single", | ||
"dev": "preact watch", | ||
"lint": "eslint src", | ||
"test": "jest" | ||
}, | ||
"eslintConfig": { | ||
"extends": "eslint-config-synacor" | ||
}, | ||
"eslintIgnore": [ | ||
"build/*" | ||
], | ||
"devDependencies": { | ||
"enzyme": "^3.10.0", | ||
"enzyme-adapter-preact-pure": "^2.0.0", | ||
"eslint": "^6.0.1", | ||
"eslint-config-synacor": "^3.0.4", | ||
"identity-obj-proxy": "^3.0.0", | ||
"jest": "^24.9.0", | ||
"jest-preset-preact": "^1.0.0", | ||
"per-env": "^1.0.2", | ||
"preact-cli": "^3.0.0-rc.7", | ||
"preact-render-spy": "^1.2.1", | ||
"serve": "^11.1.0" | ||
}, | ||
"dependencies": { | ||
"history": "^4.10.1", | ||
"preact": "^10.0.1", | ||
"preact-render-to-string": "^5.1.0", | ||
"preact-router": "^3.0.0" | ||
}, | ||
"jest": { | ||
"preset": "jest-preset-preact", | ||
"setupFiles": [ | ||
"<rootDir>/tests/__mocks__/browserMocks.js", | ||
"<rootDir>/tests/__mocks__/setupTests.js" | ||
] | ||
} | ||
} |
preact.config.js
0 → 100644
src/base-url.js
0 → 100644
src/components/app.js
0 → 100644
src/index.js
0 → 100644
src/routes/about/index.js
0 → 100644
src/routes/about/style.css
0 → 100644
src/routes/home/index.js
0 → 100644
src/routes/home/style.css
0 → 100644
src/routes/paste/index.js
0 → 100644
src/routes/paste/style.css
0 → 100644
src/style/index.css
0 → 100644
tests/__mocks__/fileMocks.js
0 → 100644
tests/header.test.js
0 → 100644