Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"env": {
"test": {
"plugins": [ "istanbul" ]
}
},
"presets": [
"@babel/env"
]
Expand Down
5 changes: 5 additions & 0 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"include": ["src/"],
"reporter": ["html"],
"report-dir": "coverage"
}
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ orbs:
defaults: &defaults
working_directory: ~/repo
docker:
- image: cimg/node:16.18-browsers
- image: cimg/node:lts-browsers
environment:
NODE_ENV: development

Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run:
name: Publish package
command: npx semantic-release@19.0.5
command: npx semantic-release


workflows:
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
'parser': 'babel-eslint',
'parser': '@babel/eslint-parser',
'env': {
'browser': true,
'es6': true,
Expand Down
62 changes: 0 additions & 62 deletions config/karma/karma-base.js

This file was deleted.

15 changes: 0 additions & 15 deletions config/karma/karma-chrome.js

This file was deleted.

16 changes: 0 additions & 16 deletions config/karma/karma-coverage.js

This file was deleted.

16 changes: 0 additions & 16 deletions config/karma/karma-coveralls.js

This file was deleted.

12 changes: 0 additions & 12 deletions config/karma/karma-extend.js

This file was deleted.

9 changes: 0 additions & 9 deletions config/karma/karma-firefox.js

This file was deleted.

14 changes: 0 additions & 14 deletions config/karma/karma-watch.js

This file was deleted.

2 changes: 1 addition & 1 deletion config/webpack/index.js → config/webpack/index.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const env = process.env.ENV || 'dev';
const config = require(`./webpack-${env}`);
const config = require(`./webpack-${env}.cjs`);

module.exports = config;
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const rootPath = process.cwd();
const context = path.join(rootPath, "src");
const outputPath = path.join(rootPath, 'dist');
const bannerPlugin = require(path.join(__dirname, 'plugins', 'banner.js'));
const bannerPlugin = require(path.join(__dirname, 'plugins', 'banner.cjs'));

module.exports = {
mode: 'development',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const webpack = require('webpack');
const merge = require('./merge');
const baseConfig = require('./webpack-base');
const merge = require('./merge.cjs');
const baseConfig = require('./webpack-base.cjs');

const devConfig = {
devServer: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const merge = require('./merge');
const baseConfig = require('./webpack-base');
const merge = require('./merge.cjs');
const baseConfig = require('./webpack-base.cjs');
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');

const devConfig = {
Expand Down
Loading