Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Pull the snippet from the NPM package #75

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ yarn-error.log*

# typescript
*.tsbuildinfo

# snippet
/public/snippet/
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"license": "MIT",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"copy-scripts": "mkdir -p public/snippet && cp node_modules/squeak-snippet/dist/squeak.js* public/snippet/",
"dev": "yarn copy-scripts && next dev",
"build": "yarn copy-scripts && next build",
"start": "next start",
"lint": "next lint",
"migrate": "node-pg-migrate"
Expand Down Expand Up @@ -38,6 +39,7 @@
"react-syntax-highlighter": "^15.4.5",
"react-toast-notifications": "^2.5.1",
"tinytime": "^0.2.6",
"squeak-snippet": "^0.1.3",
"xss": "^1.0.11"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion public/snippet/squeak.js

This file was deleted.

Loading