@devpow112/babel-config 1.0.4 → 1.1.0

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Devon Powell
3
+ Copyright (c) 2023 Devon Powell
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,62 +1,64 @@
1
1
  {
2
2
  "name": "@devpow112/babel-config",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
4
  "description": "Shareable babel configuration",
5
- "publishConfig": {
6
- "access": "public"
7
- },
8
- "scripts": {
9
- "lint": "run-s -s lint:git lint:js lint:md",
10
- "lint:js": "eslint .",
11
- "lint:md": "markdownlint .",
12
- "lint:git": "commitlint --from origin/main --to HEAD",
13
- "format": "run-s -s format:js format:md",
14
- "format:js": "npm run -s lint:js -- --fix",
15
- "format:md": "npm run -s lint:md -- --fix"
16
- },
17
- "exports": {
18
- "./node12": "./src/node-12.js",
19
- "./node12.js": "./src/node-12.js",
20
- "./node12-config": "./src/node-12.js",
21
- "./node12-config.js": "./src/node-12.js",
22
- "./node-12": "./src/node-12.js",
23
- "./node-12.js": "./src/node-12.js",
24
- "./node-12-config": "./src/node-12.js",
25
- "./node-12-config.js": "./src/node-12.js"
5
+ "keywords": [
6
+ "babel-config"
7
+ ],
8
+ "homepage": "https://github.com/devpow112/babel-config#readme",
9
+ "bugs": {
10
+ "url": "https://github.com/devpow112/babel-config/issues"
26
11
  },
27
12
  "repository": {
28
13
  "type": "git",
29
14
  "url": "https://github.com/devpow112/babel-config.git"
30
15
  },
31
- "keywords": [
32
- "babel-config"
33
- ],
34
- "author": "Devon Powell <devon.f.powell@gmail.com>",
35
16
  "license": "MIT",
36
- "bugs": {
37
- "url": "https://github.com/devpow112/babel-config/issues"
17
+ "author": "Devon Powell <devon.f.powell@gmail.com>",
18
+ "exports": {
19
+ "./node-12": "./src/node-12.js",
20
+ "./node-12.js": "./src/node-12.js",
21
+ "./node-16": "./src/node-16.js",
22
+ "./node-16.js": "./src/node-16.js",
23
+ "./node-18": "./src/node-18.js",
24
+ "./node-18.js": "./src/node-18.js"
38
25
  },
39
- "homepage": "https://github.com/devpow112/babel-config#readme",
40
26
  "files": [
41
27
  "src/**/*.js"
42
28
  ],
29
+ "scripts": {
30
+ "lint": "run-s -s lint:git lint:js lint:md lint:pkg",
31
+ "lint:js": "eslint .",
32
+ "lint:md": "markdownlint .",
33
+ "lint:git": "commitlint --from origin/main --to HEAD",
34
+ "lint:pkg": "sort-package-json --check",
35
+ "format": "run-s -s format:js format:md format:pkg",
36
+ "format:js": "npm run -s lint:js -- --fix",
37
+ "format:md": "npm run -s lint:md -- --fix",
38
+ "format:pkg": "sort-package-json"
39
+ },
40
+ "devDependencies": {
41
+ "@commitlint/cli": "^17.6.1",
42
+ "@devpow112/commitlint-config": "^1.0.4",
43
+ "@devpow112/eslint-config": "^1.1.5",
44
+ "@devpow112/semantic-release-config": "^2.1.2",
45
+ "eslint": "^8.39.0",
46
+ "markdownlint-cli": "^0.33.0",
47
+ "npm-run-all": "^4.1.5",
48
+ "semantic-release": "^21.0.1",
49
+ "sort-package-json": "^2.4.1"
50
+ },
51
+ "peerDependencies": {
52
+ "@babel/cli": "^7",
53
+ "@babel/preset-env": "^7",
54
+ "babel-plugin-add-module-exports": "^1"
55
+ },
43
56
  "engines": {
44
57
  "node": ">=12.22.7",
45
58
  "npm": ">=6.14.15"
46
59
  },
47
- "peerDependencies": {
48
- "@babel/cli": "^7.17.0",
49
- "@babel/preset-env": "^7.16.11",
50
- "babel-plugin-add-module-exports": "^1.0.4"
51
- },
52
- "devDependencies": {
53
- "@commitlint/cli": "^17.3.0",
54
- "@devpow112/commitlint-config": "^1.0.3",
55
- "@devpow112/eslint-config": "^1.1.4",
56
- "@devpow112/semantic-release-config": "^1.2.1",
57
- "eslint": "^8.30.0",
58
- "markdownlint-cli": "^0.32.2",
59
- "npm-run-all": "^4.1.5",
60
- "semantic-release": "^19.0.5"
60
+ "publishConfig": {
61
+ "access": "public",
62
+ "provenance": true
61
63
  }
62
64
  }
package/src/node-12.js CHANGED
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
2
  extends: './common.js',
3
- presets: [['@babel/preset-env', { targets: { node: 12 } }]],
3
+ presets: [['@babel/preset-env', { targets: { node: '12' } }]],
4
4
  plugins: ['add-module-exports']
5
5
  };
package/src/node-16.js ADDED
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ extends: './common.js',
3
+ presets: [['@babel/preset-env', { targets: { node: '16' } }]],
4
+ plugins: ['add-module-exports']
5
+ };
package/src/node-18.js ADDED
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ extends: './common.js',
3
+ presets: [['@babel/preset-env', { targets: { node: '18' } }]],
4
+ plugins: ['add-module-exports']
5
+ };