eureka-init 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -1
- package/.husky/commit-msg +0 -4
- package/.husky/pre-commit +0 -4
- package/src/__tests__/example.test.js +0 -11
package/package.json
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eureka-init",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Shared configuration for Husky, Commitlint, Prettier, ESLint, and Jest for Eureka Group",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"bin",
|
|
8
|
+
"templates",
|
|
9
|
+
"README.md",
|
|
10
|
+
"commitlint.config.js",
|
|
11
|
+
"jest.config.js",
|
|
12
|
+
"jest.setup.js",
|
|
13
|
+
".eslintrc.js",
|
|
14
|
+
".prettierrc"
|
|
15
|
+
],
|
|
6
16
|
"bin": {
|
|
7
17
|
"eureka-init": "bin/eureka-init.js"
|
|
8
18
|
},
|
package/.husky/commit-msg
DELETED
package/.husky/pre-commit
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
describe('Contoh Unit Test', () => {
|
|
2
|
-
test('Sistem Testing Eureka Init harus berjalan', () => {
|
|
3
|
-
const sum = (a, b) => a + b;
|
|
4
|
-
expect(sum(1, 2)).toBe(3);
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
test('Lingkungan JSDOM harus tersedia', () => {
|
|
8
|
-
const element = document.createElement('div');
|
|
9
|
-
expect(element).not.toBeNull();
|
|
10
|
-
});
|
|
11
|
-
});
|