Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit b588c76

Browse files
committed
Fix npm package content in package.json
1 parent 9935ec6 commit b588c76

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## To be released
22
- Add ASCII art
33
- Add circleci/npm links to README
4+
- Fix npm package content in package.json
45

56
## v0.2.1 (November 1, 2017)
67
- Update README

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"description": "An ES6 JavaScript Client for Salesforce Open Commerce API",
55
"license": "SEE LICENSE IN LICENSE",
66
"main": "lib/index.js",
7+
"files": [
8+
"lib"
9+
],
710
"scripts": {
811
"copyright:lint": "copyright 'src/**/*.js' 'bin/**/*.js' 'test/**/*.js'",
912
"copyright:fix": "copyright --fix --update 'src/*.js' 'src/**/*.js' 'test/*.js' 'test/**/*.js'",
@@ -12,7 +15,8 @@
1215
"lint:js": "eslint '**/*.js'",
1316
"lint:fix": "npm run lint:js -- --fix",
1417
"test": "BABEL_ENV=test mocha --compilers js:babel-core/register $(find test/api -name '*.spec.js')",
15-
"build": "BABEL_ENV=production rollup -c"
18+
"build": "BABEL_ENV=production rollup -c",
19+
"prepack": "npm run build"
1620
},
1721
"browser": {
1822
"fs": false

0 commit comments

Comments
 (0)