Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 647 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 647 Bytes

scrypt-by-example.github.io

sCrypt By Example

License

MIT License

Memo

## Deploy ##
# md to react
npx ts-node --project ./scripts/tsconfig.json scripts/md-to-react.ts src/pages/array

# md to react all pages
find src/pages -type d -not -path "*/__snapshots__" -exec npx ts-node --project ./scripts/tsconfig.json scripts/md-to-react.ts {} \;

# build routes
npx ts-node --project ./scripts/tsconfig.json scripts/build-routes.ts

# deploy
npm run deploy

## Misc ##
# rename files
find . -type f -name "index.test.js" -exec sh -c 'mv "$0" "${0%.test.js}.test.tsx"' {} \;