Skip to content

Commit ba7dac2

Browse files
committed
- Added rollup.config.js.
- Modified rollup to use umd for output. - Removed filepath from package.json. - Added dist folder to files in package.json.
1 parent 190f541 commit ba7dac2

7 files changed

Lines changed: 55 additions & 76 deletions

File tree

dist/frost-core.js

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frost-core.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frost-core.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frost-core.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 32 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fr0st/core",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "FrostCore is a free, open-source utility library for JavaScript.",
55
"keywords": [
66
"utility",
@@ -19,13 +19,14 @@
1919
"main": "src/index.js",
2020
"type": "module",
2121
"files": [
22+
"dist",
2223
"LICENSE",
2324
"README.md",
2425
"src"
2526
],
2627
"scripts": {
2728
"build": "npm run js-compile && npm run js-minify",
28-
"js-compile": "rollup src/index.js --file dist/frost-core.js --format iife --sourcemap --name _",
29+
"js-compile": "rollup --config",
2930
"js-lint": "eslint --ext .js .",
3031
"js-minify": "terser --compress passes=2 --mangle --source-map \"content=dist/frost-core.js.map\" --output dist/frost-core.min.js dist/frost-core.js",
3132
"test": "mocha"
@@ -38,11 +39,10 @@
3839
"license": "MIT",
3940
"private": false,
4041
"devDependencies": {
41-
"eslint": "^8.30.0",
42+
"eslint": "^8.31.0",
4243
"eslint-config-google": "^0.14.0",
43-
"filepath": "^1.1.0",
4444
"mocha": "^10.2.0",
45-
"rollup": "^3.7.5",
45+
"rollup": "^3.9.1",
4646
"terser": "^5.16.1"
4747
}
4848
}

0 commit comments

Comments
 (0)