Skip to content

Commit

Permalink
Issue #SB-0000 merge: Merge pull request #264 from swayangjit/release…
Browse files Browse the repository at this point in the history
…-2.8.0

Issue #SB-000 chore: Updated build script to publish it to npm repo.
  • Loading branch information
AmiableAnil authored Jan 21, 2020
2 parents b123088 + 22eff67 commit af40d17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "sunbird-sdk",
"name": "@project-sunbird/sunbird-sdk",
"version": "2.7.11",
"description": "Heart of the sunbird mobile app.",
"main": "dist/index.js",
"main": "index.js",
"scripts": {
"preversion": "rm -rf dist",
"version": "npm run build:prod && git add -A dist && git commit -m \"RELEASE\"",
Expand All @@ -12,7 +12,7 @@
"test:coverage": "jest --coverage --collectCoverageFrom=src/**/*.{ts,tsx}",
"test:ci": "jest --ci --w 2 --collectCoverage=true --coverageReporters=lcov",
"test:ci-json": "jest --ci --w 2 --collectCoverage=true --coverageReporters=json",
"build:prod": "rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false --output-file index.js",
"build:prod": "rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false --output-file index.js && cp ./package.json ./LICENSE ./README.md ./dist",
"build:analyze": "webpack --verbose true --progress true --cache false --profile --json > stats.json && webpack-bundle-analyzer ./stats.json",
"build:dev": "rm -rf tmp && mkdir tmp && cp ./package-dev.json ./tmp/package.json && tsc -w --outDir ./tmp"
},
Expand Down

0 comments on commit af40d17

Please sign in to comment.