Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix files accidentally included in final package #233

Merged
merged 1 commit into from
Jun 4, 2018
Merged
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
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*
!bin/**
!dist/**
!register/**
9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@
"bin": {
"sucrase": "./bin/sucrase"
},
"files": [
"bin",
"dist",
"register"
],
"scripts": {
"build": "script/build",
"clean": "rm -rf ./build ./dist",
"clean": "rm -rf ./build ./dist ./example-runner/example-repos",
"generate": "ts-node ./generator/generate.ts",
"self-build": "script/self-build",
"self-test": "mocha test/**/*.ts --opts test/mocha-self-test.opts",
Expand All @@ -26,7 +21,7 @@
"lint": "eslint './src/**/*.ts' './test/**/*.ts' './sucrase-babylon/**/*.ts' './integrations/gulp-plugin/src/**/*.ts'",
"profile": "node --inspect-brk ./build/benchmark/profile.js",
"profile-react": "node --inspect-brk ./build/benchmark/profile-react.js",
"prepublish": "yarn run build",
"prepublish": "yarn clean && yarn build",
"run-examples": "ts-node ./example-runner/example-runner.ts",
"test": "yarn lint && tsc --noEmit && tsc --project ./integrations/gulp-plugin --noEmit && mocha test",
"test-dist": "./node_modules/.bin/mocha build/test --opts test/mocha-self-test.opts"
Expand Down