clang-format-node 1.3.0 → 1.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clang-format-node",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Node wrapper for clang-format native binary inspired by angular/clang-format.🐉",
5
5
  "main": "build/index.js",
6
6
  "files": [
@@ -42,13 +42,21 @@
42
42
  "engines": {
43
43
  "node": ">=16"
44
44
  },
45
+ "publishConfig": {
46
+ "provenance": true
47
+ },
45
48
  "scripts": {
46
- "postinstall": "test -d src && npm run build || npm run chmod",
49
+ "postinstall": "shx test -d src && npm run build || npm run chmod",
47
50
  "prepublishOnly": "npm run build",
48
- "build": "npx babel src -d build && npx tsc && cp -r src/bin build && cp ../../LICENSE.md ../../README.md .",
51
+ "build": "npx babel src -d build && npx tsc && shx cp -r src/bin build && shx cp ../../LICENSE.md ../../README.md .",
49
52
  "postbuild": "npm run chmod",
50
53
  "test": "node --test",
51
- "chmod": "find ./src/bin ./build/bin -type f -exec chmod 755 {} + || exit 0"
54
+ "chmod": "shx chmod 755 ./src/bin/**/* ./build/bin/**/* || exit 0",
55
+ "dev": "node src/cli.js",
56
+ "start": "node build/cli.js"
57
+ },
58
+ "dependencies": {
59
+ "shx": "^0.3.4"
52
60
  },
53
- "gitHead": "9686d5ba81836f06c9afcce40c4cb9f19292bdec"
61
+ "gitHead": "2854dd7c8753b542fb07248fa088b0accc511eea"
54
62
  }