-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
42 lines (41 loc) · 2.57 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "tw5-plugins-sandbox",
"version": "0.0.1",
"description": "Experimental TW5 plugins",
"repository": {
"type": "git",
"url": "git+https://github.com/saqimtiaz/tw5-plugins-sandbox.git"
},
"keywords": [
"TW5",
"TiddlyWiki",
"plugins"
],
"author": "Saq Imtiaz",
"dependencies": {
"tiddlywiki": "github:Jermolene/TiddlyWiki5"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"cross-env": "^7.0.3",
"nodemon": "^2.0.19",
"npx": "^10.2.2",
"rollup": "^4.24.0",
"swiffy-slider": "^1.6.0"
},
"scripts": {
"build-gh": "TIDDLYWIKI_PLUGIN_PATH=plugins node ./node_modules/tiddlywiki/tiddlywiki.js editions/all-plugins --build index && cp -R editions/all-plugins/files editions/all-plugins/output/",
"build": "cross-env TIDDLYWIKI_PLUGIN_PATH=plugins node ./node_modules/tiddlywiki/tiddlywiki.js editions/all-plugins --build index",
"dev": "cross-env TIDDLYWIKI_PLUGIN_PATH=plugins npx nodemon -e tid,multids,js,info,css,json,meta --watch plugins ./node_modules/tiddlywiki/tiddlywiki.js editions/dev --listen port=7555",
"tests": "cross-env TIDDLYWIKI_PLUGIN_PATH=plugins node ./node_modules/tiddlywiki/tiddlywiki.js editions/test --test",
"tests-browser": "cross-env TIDDLYWIKI_PLUGIN_PATH=plugins node ./node_modules/tiddlywiki/tiddlywiki.js editions/test --listen port=7555",
"local": "cross-env TIDDLYWIKI_PLUGIN_PATH=plugins npx nodemon -e tid,multids,js,info,css,json,meta --watch plugins ./node_modules/tiddlywiki/tiddlywiki.js editions/all-plugins --listen host=192.168.1.115 port=8080",
"update-tw": "npm install --save github:Jermolene/TiddlyWiki5",
"swiffy:update-lib": "npm install --save-dev swiffy-slider && cp node_modules/swiffy-slider/dist/js/swiffy-slider.esm.js plugins/sq/SwiffySlider/lib/ && cp node_modules/swiffy-slider/dist/js/swiffy-slider-extensions.js plugins/sq/SwiffySlider/lib/ && cp node_modules/swiffy-slider/dist/css/swiffy-slider.css plugins/sq/SwiffySlider",
"swiffy:build-lib": "npm run _swiffy:rollup-main && npm run _swiffy:rollup-extensions",
"_swiffy:rollup-main": "npx rollup -c rollup-config/swiffy.rollup.config.mjs plugins/sq/SwiffySlider/lib/swiffy-slider.esm.js --file plugins/sq/SwiffySlider/swiffy-slider.umd.js --name 'Swiffy'",
"_swiffy:rollup-extensions": "npx rollup -c rollup-config/swiffy.rollup.config.mjs plugins/sq/SwiffySlider/lib/swiffy-slider-extensions.js --file plugins/sq/SwiffySlider/swiffy-slider-extensions.umd.js --name 'swiffysliderextensions'"
}
}