Skip to content
Permalink
Browse files

Ported the configuration files to JSON

  • Loading branch information...
cedx committed Jun 1, 2019
1 parent 7f106c6 commit fc662fbaad4b305f4d44075441d0a6a7c6332c8e
Showing with 18 additions and 15 deletions.
  1. +2 −3 .browserslistrc
  2. +2 −0 .gitattributes
  3. +0 −1 etc/eslint.json
  4. +7 −0 etc/mocha.json
  5. +0 −5 etc/mocha.yaml
  6. +6 −0 etc/nyc.json
  7. +0 −5 etc/nyc.yaml
  8. +1 −1 etc/rollup.js
@@ -1,4 +1,3 @@
# https://browserl.ist
>= 5%
last 2 versions
not dead
last 2 chrome versions
last 2 firefox versions
@@ -11,4 +11,6 @@
*.yml text

*.ico binary
*.jpg binary
*.pdf binary
*.png binary
@@ -64,7 +64,6 @@
"no-warning-comments": "warn",
"no-with": "error",
"prefer-promise-reject-errors": "error",
"radix": ["error", "as-needed"],
"wrap-iife": ["error", "inside"],
"yoda": ["error", "never"],

@@ -0,0 +1,7 @@
{
"check-leaks": true,
"recursive": true,
"reporter": "spec",
"require": "esm",
"ui": "bdd"
}

This file was deleted.

@@ -0,0 +1,6 @@
{
"all": true,
"include": ["lib/**/*.js"],
"report-dir": "var",
"reporter": ["lcovonly"]
}

This file was deleted.

@@ -3,7 +3,7 @@ import commonjs from 'rollup-plugin-commonjs';
import resolve from 'rollup-plugin-node-resolve';

export default {
input: join(__dirname, '../lib/browser.mjs'),
input: join(__dirname, '../lib/browser.js'),
output: {file: join(__dirname, '../build/akismet.js'), format: 'iife', name: 'akismet'},
plugins: [resolve(), commonjs({
namedExports: {'node_modules/eventemitter3/index.js': ['EventEmitter']}

0 comments on commit fc662fb

Please sign in to comment.
You can’t perform that action at this time.