Skip to content

Commit

Permalink
Merge pull request #105 from polyfire-ai/refact/polyfire-cli
Browse files Browse the repository at this point in the history
remove cli from polyfire-js
  • Loading branch information
lowczarc authored Nov 17, 2023
2 parents 3c8771f + 1ecb38d commit 98a220c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 326 deletions.
57 changes: 0 additions & 57 deletions cmd/createApplication/index.ts

This file was deleted.

195 changes: 0 additions & 195 deletions cmd/index.ts

This file was deleted.

68 changes: 0 additions & 68 deletions cmd/utils/index.ts

This file was deleted.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,10 @@
"last 2 ChromeAndroid versions"
],
"scripts": {
"start": "ts-node cmd/index.ts",
"lint": "prettier --check lib/ cmd/ ; eslint lib/ cmd/",
"lint:fix": "prettier --write lib/ cmd/ ; eslint --fix lib/ cmd/",
"build:cmd": "esbuild cmd/index.ts --bundle --outfile=build/polyfire.tmp --platform=node && echo '#!/usr/bin/env node\n' | cat - build/polyfire.tmp > build/polyfire && rm build/polyfire.tmp",
"lint": "prettier --check lib/ ; eslint lib/",
"lint:fix": "prettier --write lib/; eslint --fix lib/",
"build:vanilla-js": "esbuild target/vanilla-js.ts --bundle --minify --target=chrome67,firefox68,edge79,safari15 --outfile=build/vanilla-js.js",
"build": "tsc --target es5 --lib es2021,DOM --moduleResolution node --strict --esModuleInterop --declaration --jsx react --skipLibCheck --outDir dist --rootDir lib lib/*.ts lib/**/*.ts && npm run build:cmd && cp build/polyfire package.json README.md dist/",
"build": "tsc --target es5 --lib es2021,DOM --moduleResolution node --strict --esModuleInterop --declaration --jsx react --skipLibCheck --outDir dist --rootDir lib lib/*.ts lib/**/*.ts && cp package.json README.md dist/",
"npm-publish": "npm run build && cd dist && npm publish && cd .."
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"baseUrl": "lib/",
"rootDir": "./"
},
"include": ["lib/**/*", "cmd/**/*", "target/**/*"]
"include": ["lib/**/*", "target/**/*"]
}

0 comments on commit 98a220c

Please sign in to comment.