Skip to content

Commit 5387230

Browse files
author
thebarada
committed
feat(package) update name
1 parent f4d8cd5 commit 5387230

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ngx-cookies",
2+
"name": "@ngx-utils/cookies",
33
"version": "1.0.0",
44
"description": "Manage your cookies on client and server side (Angular Universal)",
55
"keywords": [
@@ -11,7 +11,7 @@
1111
"cookies"
1212
],
1313
"author": "Anton Barada",
14-
"main": "bundles/ngx-cookies.umd.min.js",
14+
"main": "bundles/cookies.umd.min.js",
1515
"module": "index.js",
1616
"typings": "index.d.ts",
1717
"scripts": {
@@ -20,7 +20,7 @@
2020
"copy": "cpy LICENSE package.json README.md release",
2121
"build:js": "ngc",
2222
"build:umd": "rollup -c",
23-
"build:minify": "uglifyjs release/bundles/ngx-cookies.umd.js --screw-ie8 --compress --mangle --comments --output release/bundles/ngx-cookies.umd.min.js",
23+
"build:minify": "uglifyjs release/bundles/cookies.umd.js --screw-ie8 --compress --mangle --comments --output release/bundles/cookies.umd.min.js",
2424
"prebuild": "npm run clean:pre",
2525
"build": "npm run build:js && npm run build:umd && npm run build:minify",
2626
"postbuild": "npm run clean:post && npm run copy"
@@ -45,11 +45,11 @@
4545
},
4646
"repository": {
4747
"type": "git",
48-
"url": "https://github.com/thebarada/ngx-cookies"
48+
"url": "https://github.com/ngx-utils/cookies"
4949
},
50-
"homepage": "https://github.com/thebarada/ngx-cookies#readme",
50+
"homepage": "https://github.com/ngx-utils/cookies#readme",
5151
"bugs": {
52-
"url": "https://github.com/thebarada/ngx-cookies/issues"
52+
"url": "https://github.com/ngx-utils/cookies/issues"
5353
},
5454
"license": "MIT"
5555
}

rollup.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
export default {
22
entry: './release/index.js',
3-
dest: './release/bundles/ngx-cookies.umd.js',
3+
dest: './release/bundles/cookies.umd.js',
44
sourceMap: false,
55
format: 'umd',
6-
moduleName: 'ngx-cookies',
6+
moduleName: 'ngx-utils.cookies',
77
globals: {
88
'@angular/core': 'ng.core',
99
'@angular/common': 'ng.common',

0 commit comments

Comments
 (0)