Skip to content

Commit

Permalink
Merge pull request #637 from adobe/npmLibrary
Browse files Browse the repository at this point in the history
Get ready to publish Alloy as an NPM repo
  • Loading branch information
jonsnyder authored Jan 28, 2021
2 parents 37f94b6 + 345ba85 commit 2bee677
Show file tree
Hide file tree
Showing 32 changed files with 938 additions and 385 deletions.
27 changes: 25 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[
"@babel/preset-env",
{
"modules": false,
"targets": {
"browsers": [
"last 2 Chrome versions",
Expand All @@ -20,5 +19,29 @@
"loose": true
}],
"version"
]
],
"env": {
"rollup": {
"presets": [
[
"@babel/preset-env",
{
"modules": false
}
]
]
},
"npm": {
"ignore": [
"src/baseCode.js",
"src/standalone.js"
],
"plugins": [
["@babel/plugin-transform-modules-commonjs", {
"strict": true,
"noInterop": true
}]
]
}
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ sandbox/build
allure
logs
*.log*
distTest
libEs5
libEs6
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# Alloy

Alloy is the code name for the Adobe Experience Platform Web SDK. It allows for streaming data into the platform, syncing identities, personalizing content, and more.
Alloy is the code name for the Adobe Experience Platform Web SDK. It allows for recording events into Adobe Experience Platform, syncing identities, personalizing content, and more.

For documentation on how to use Alloy, please see the [user documentation](https://adobe.ly/36dGGp6).

For documentation on how to contribute to Alloy, please see the [developer documentation](https://github.com/adobe/alloy/wiki).
For documentation on how to contribute to Alloy, please see the [developer documentation](https://github.com/adobe/alloy/wiki).
8 changes: 7 additions & 1 deletion coverageignore.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,10 @@ governing permissions and limitations under the License.
* Patterns of source files (files within the src directory) that should be
* ignored for test coverage checks and reporting.
*/
module.exports = ["**/.*", "**/constants/**", "**/index.js"];
module.exports = [
"**/.*",
"**/constants/**",
"**/index.js",
"baseCode.js",
"standalone.js"
];
Loading

0 comments on commit 2bee677

Please sign in to comment.