tiro-notes 0.27.15 → 0.27.16
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/cli.js +2 -2
- package/package.json +3 -2
package/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
const tHelpers = require('
|
|
2
|
+
//const tHelpers = require('../helpers/helpers.platforms.js'); // for dev purposes
|
|
3
|
+
const tHelpers = require('./helpers-build/helpers.platforms.js');
|
|
4
4
|
|
|
5
5
|
// open frontend on default browser
|
|
6
6
|
const openInBrowser = (url) => {
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tiro-notes",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.16",
|
|
4
4
|
"description": "Tiro Notes for CLI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"clean-previous-build": "rm -r node-build",
|
|
8
|
+
"export-helpers": "rm -r helpers-build; cp -r ../helpers helpers-build",
|
|
8
9
|
"export-cli-module": "cd ../..; cp -r build platforms/npm-cli-module/node-build; cd ./platforms/npm-cli-module; cp cli.js node-build/; cp package.json node-build/; ",
|
|
9
|
-
"build-then-publish": "cd ../..; npm run build; cd ./platforms/npm-cli-module; npm run clean-previous-build; npm run export-cli-module; echo WARNING REQUIRES NPM LOGIN BEFORE PUBLISHING!; cd node-build; npm publish"
|
|
10
|
+
"build-then-publish": "cd ../..; npm run build; cd ./platforms/npm-cli-module; npm run clean-previous-build; npm export-helpers; npm run export-cli-module; echo WARNING REQUIRES NPM LOGIN BEFORE PUBLISHING!; cd node-build; npm publish"
|
|
10
11
|
},
|
|
11
12
|
"bin": "cli.js",
|
|
12
13
|
"repository": {
|