js-build-tools 2.2.7 → 2.2.9

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # js-build-tools
1
+ # [js-build-tools](https://www.npmjs.com/package/js-build-tools)
2
2
 
3
3
  Centralize the build process for Node.js, JS and TypeScript projects into a single tool suite.
4
4
 
@@ -83,7 +83,7 @@ module.exports = {
83
83
  tsSearch: 'src/**/*.ts',
84
84
 
85
85
  // The path the tsconfig file for running typescript or false if no ts file given.
86
- useTsConfig: 'tsconfig.json',
86
+ useTsConfig: false,
87
87
 
88
88
  // The search pattern for watching files for changes.
89
89
  watchSearch: 'src/**/*.js',
@@ -155,10 +155,10 @@ Create a `tsconfig.json` file in your project root with the following:
155
155
  ```
156
156
 
157
157
  The pattern for `"files"` should match your .ts files, but the essential thing is that it is wrapped in an array.
158
- The actual pattern used comes from `babel.config.js` as `'tsSearch'` setting. In order to create the ts declaration
158
+ The actual pattern used comes from `build-tools.config.js` as `'tsSearch'` setting. In order to create the ts declaration
159
159
  files you must add the `"declaration": true`.
160
160
 
161
- Add the following to the exports in your `babel.config.js`:
161
+ Add the following to the exports in your `build-tools.config.js`:
162
162
 
163
163
  ```js
164
164
  module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-build-tools",
3
- "version": "2.2.7",
3
+ "version": "2.2.9",
4
4
  "description": "Standardised build process with gulp.",
5
5
  "main": "gulpfile.base.js",
6
6
  "scripts": {
@@ -33,14 +33,14 @@
33
33
  ]
34
34
  },
35
35
  "dependencies": {
36
- "@babel/core": "^7.23.0",
36
+ "@babel/core": "^7.23.2",
37
37
  "@babel/plugin-proposal-throw-expressions": "^7.22.5",
38
- "@babel/preset-env": "^7.22.20",
39
- "@babel/preset-typescript": "^7.23.0",
40
- "@babel/runtime-corejs3": "^7.23.1",
38
+ "@babel/preset-env": "^7.23.2",
39
+ "@babel/preset-typescript": "^7.23.2",
40
+ "@babel/runtime-corejs3": "^7.23.2",
41
41
  "babel-jest": "^29.7.0",
42
42
  "browserify": "^17.0.0",
43
- "core-js": "^3.33.0",
43
+ "core-js": "^3.33.1",
44
44
  "fs": "^0.0.1-security",
45
45
  "glob": "^10.3.10",
46
46
  "gulp": "^4.0.2",