Skip to content

Commit

Permalink
reducing package size
Browse files Browse the repository at this point in the history
  • Loading branch information
lostfields committed Apr 7, 2020
1 parent cebf376 commit 8063e17
Show file tree
Hide file tree
Showing 6 changed files with 1,159 additions and 11,698 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
npm test
npm run lint
npm run build
rm lib/linq/peg/parser/*.d.ts
rm lib/linq/peg/parser/*.map
zip -r artifact lib src package.json index.html LICENSE README.md
env:
CI: true
Expand Down Expand Up @@ -47,8 +45,6 @@ jobs:
run: |
npm ci
npm run build
rm lib/linq/peg/parser/*.d.ts
rm lib/linq/peg/parser/*.map
npm publish --access public --@tfso:registry=https://registry.npmjs.org/
env:
CI: true
Expand All @@ -70,8 +66,6 @@ jobs:
run: |
npm ci
npm run build
rm lib/linq/peg/parser/*.d.ts
rm lib/linq/peg/parser/*.map
npm publish
env:
CI: true
Expand Down
7 changes: 6 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@
.eslintrc.json
js-enumerable.code-workspace
tsconfig.json
webpack.config.js
webpack.config.js

lib/linq/peg/parser/*.d.ts
lib/linq/peg/parser/*.map
lib/test
src/test
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@tfso/js-enumerable",
"version": "0.0.6",
"version": "0.0.7",
"description": "",
"main": "lib/index.js",
"typings": "lib/index",
"scripts": {
"test": "tsc && node node_modules/mocha/bin/_mocha --require lib/test/setup/mocha-require.js --recursive lib/test/**/*.js",
"lint": "node node_modules/eslint/bin/eslint --ignore-pattern lib/ --ext .ts ./",
"build": "tsc && webpack",
"git-publish": "cross-env-shell \"npm run build && npm run test && publish-to-git --tag $npm_package_version\"",
"publish-to-git": "cross-env-shell \"npm run build && npm run test && publish-to-git --tag $npm_package_version\"",
"browserify": "browserify src/test/index.ts -p [ tsify --noImplicitAny ] > lib/mocha-bundle.js"
},
"author": "Nicolai Gjærum",
Expand Down
Loading

0 comments on commit 8063e17

Please sign in to comment.