pebble-platform-sdk
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "pebble-platform-sdk", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Tool to compile and package pebble packages/apps/watchfaces compiling with different sdk version per platform", | ||
@@ -9,7 +9,8 @@ "author": "Gavriel Fleischer <flocsy@gmail.com>", | ||
"bin": { | ||
"pebble-platform-sdk": "bin/pebble-platform-sdk" | ||
"pebble-platform-sdk": "bin/pebble-platform-sdk", | ||
"add-pebble-platform-sdk-scripts": "bin/add-pebble-platform-sdk-scripts" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"postinstall": "npm install npm-add-script;cd ../..;node_modules/pebble-platform-sdk/node_modules/.bin/npmAddScript -k build -v \"pebble-platform-sdk aplite=3.13.1 basalt=3.13.1 chalk=3.13.1 diorite=4.0 emery=4.2\"" | ||
"add-pebble-platform-sdk-scripts": "[ -f package.json ] && grep '\"build-all\":' package.json || npm install npm-add-script && cd ../.. && node_modules/pebble-platform-sdk/node_modules/.bin/npmAddScript -k build-all -v \"pebble-platform-sdk aplite=3.13.1 basalt=3.13.1 chalk=3.13.1 diorite=4.0 emery=4.2.2\"" | ||
}, | ||
@@ -16,0 +17,0 @@ "license": "ISC", |
@@ -7,2 +7,3 @@ # pebble-platform-sdk | ||
npm install pebble-platform-sdk --save-dev | ||
npm run add-pebble-platform-sdk-scripts | ||
``` | ||
@@ -13,3 +14,3 @@ | ||
```javascript | ||
"build": "pebble-platform-sdk aplite=3.13.1 basalt=3.13.1 chalk=3.13.1 diorite=4.0 emery=4.2" | ||
"build-all": "pebble-platform-sdk aplite=3.13.1 basalt=3.13.1 chalk=3.13.1 diorite=4.0 emery=4.2.2" | ||
``` | ||
@@ -21,5 +22,5 @@ | ||
```shell | ||
npm run build | ||
npm run build-all | ||
``` | ||
The output will be `${package.name}-${package.version}.pbw` in the project directory |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
4534
6
24
0