Browse Source

update with rad gitignore and nyc not istanbul

Kieran Gibb 2 years ago
parent
commit
aaaf7819fa
No account linked to committer's email address
3 changed files with 831 additions and 190 deletions
  1. 60
    1
      .gitignore
  2. 3
    4
      package.json
  3. 768
    185
      yarn.lock

+ 60
- 1
.gitignore View File

@@ -1,2 +1,61 @@
1
+# Logs
2
+logs
3
+*.log
4
+npm-debug.log*
5
+yarn-debug.log*
6
+yarn-error.log*
7
+
8
+# Runtime data
9
+pids
10
+*.pid
11
+*.seed
12
+*.pid.lock
13
+
14
+# Directory for instrumented libs generated by jscoverage/JSCover
15
+lib-cov
16
+
17
+# Coverage directory used by tools like istanbul
18
+coverage
19
+
20
+# nyc test coverage
21
+.nyc_output
22
+
23
+# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24
+.grunt
25
+
26
+# Bower dependency directory (https://bower.io/)
27
+bower_components
28
+
29
+# node-waf configuration
30
+.lock-wscript
31
+
32
+# Compiled binary addons (https://nodejs.org/api/addons.html)
33
+build/Release
34
+
35
+# Dependency directories
1 36
 node_modules/
2
-coverage/
37
+jspm_packages/
38
+
39
+# TypeScript v1 declaration files
40
+typings/
41
+
42
+# Optional npm cache directory
43
+.npm
44
+
45
+# Optional eslint cache
46
+.eslintcache
47
+
48
+# Optional REPL history
49
+.node_repl_history
50
+
51
+# Output of 'npm pack'
52
+*.tgz
53
+
54
+# Yarn Integrity file
55
+.yarn-integrity
56
+
57
+# dotenv environment variables file
58
+.env
59
+
60
+# next.js build output
61
+.next

+ 3
- 4
package.json View File

@@ -8,7 +8,6 @@
8 8
   },
9 9
   "dependencies": {
10 10
     "debug": "^4.1.1",
11
-    "is-my-json-valid": "^2.20.0",
12 11
     "js-yaml": "^3.13.1",
13 12
     "mkdirp": "^0.5.1",
14 13
     "os": "^0.1.1",
@@ -16,7 +15,7 @@
16 15
   },
17 16
   "devDependencies": {
18 17
     "hypercore-crypto": "^1.0.0",
19
-    "istanbul": "^0.4.5",
18
+    "nyc": "^14.1.1",
20 19
     "rimraf": "^2.6.3",
21 20
     "tap-spec": "^5.0.0",
22 21
     "tape": "^4.11.0",
@@ -24,8 +23,8 @@
24 23
     "tmp": "^0.1.0"
25 24
   },
26 25
   "scripts": {
27
-    "test": "istanbul cover tape test/**/*.test.js | tap-spec",
28
-    "test:debug": "DEBUG=cobox-config istanbul cover tape test/**/*.test.js | tap-spec"
26
+    "test": "tape test/**/*.test.js | tap-spec",
27
+    "cover": "nyc tape test/**/*.test.js | tap-spec"
29 28
   },
30 29
   "repository": {
31 30
     "type": "git",

+ 768
- 185
yarn.lock
File diff suppressed because it is too large
View File