Skip to content

Commit 077f12e

Browse files
committed
remove the example log -.-
1 parent ef3f101 commit 077f12e

File tree

2 files changed

+11
-21
lines changed

2 files changed

+11
-21
lines changed

package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
{
22
"name": "make-tints",
33
"version": "0.0.5",
4+
"packageManager": "[email protected]",
45
"description": "[![NPM version](https://img.shields.io/npm/v/make-tints?color=a1b858&label=)](https://www.npmjs.com/package/make-tints)",
56
"keywords": [],
67
"homepage": "https://github.com/barelyhuman/make-tints#readme",
78
"bugs": {
89
"url": "https://github.com/barelyhuman/make-tints/issues"
910
},
10-
"repository": "git+https://github.com/barelyhuman/make-tints.git",
11-
"funding": "https://github.com/sponsors/barelyhuman",
1211
"license": "MIT",
1312
"author": "Reaper <[email protected]>",
14-
"sideEffects": false,
13+
"repository": "git+https://github.com/barelyhuman/make-tints.git",
14+
"funding": "https://github.com/sponsors/barelyhuman",
15+
"main": "./dist/index.cjs",
16+
"module": "./dist/index.mjs",
17+
"types": "./dist/index.d.ts",
1518
"exports": {
1619
".": {
1720
"require": "./dist/index.cjs",
1821
"import": "./dist/index.mjs",
1922
"types": "./dist/index.d.ts"
2023
}
2124
},
22-
"main": "./dist/index.cjs",
23-
"module": "./dist/index.mjs",
24-
"types": "./dist/index.d.ts",
25+
"files": [
26+
"dist"
27+
],
28+
"sideEffects": false,
2529
"typesVersions": {
2630
"*": {
2731
"*": [
@@ -33,9 +37,6 @@
3337
"directories": {
3438
"test": "test"
3539
},
36-
"files": [
37-
"dist"
38-
],
3940
"scripts": {
4041
"build": "rimraf dist && unbuild",
4142
"dev": "unbuild --stub",
@@ -63,6 +64,5 @@
6364
"unbuild": "^0.7.0",
6465
"vite": "^2.8.6",
6566
"vitest": "^0.7.10"
66-
},
67-
"packageManager": "[email protected]"
67+
}
6868
}

src/index.ts

-10
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,3 @@ export function makeTints(toTint: TintColorMap[]) {
3131
}
3232
return result
3333
}
34-
35-
// eslint-disable-next-line no-console
36-
console.log(
37-
makeTints([
38-
{
39-
base: '#000',
40-
tones: [20, 40, 60],
41-
},
42-
]),
43-
)

0 commit comments

Comments
 (0)