-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 5.11 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 5.11 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "candlestick",
"version": "1.0.2",
"author": "Candlestickers",
"private": true,
"homepage": "./",
"repository": {
"type": "git",
"url": "https://github.com/Candlestickers/Candlestick"
},
"dependencies": {
"@ffmpeg/ffmpeg": "^0.7.0",
"@tauri-apps/api": "^2.9.0",
"@tauri-apps/plugin-fs": "^2.4.4",
"ace-builds": "^1.4.12",
"audiobuffer-to-wav": "^1.0.0",
"base64-arraybuffer": "^0.2.0",
"bootstrap": "^4.1.3",
"classnames": "^2.5.1",
"console-feed": "^3.8.0",
"file-saver": "^2.0.5",
"gifuct-js": "^2.1.2",
"localforage": "^1.10.0",
"pdfjs-dist": "^2.16.105",
"query-string": "^6.9.0",
"rc-slider": "^8.6.3",
"react": "^16.13.1",
"react-ace": "^6.3.2",
"react-aria-menubutton": "^6.0.1",
"react-color": "^2.14.1",
"react-device-detect": "^1.15.0",
"react-dnd": "^11.1.3",
"react-dnd-html5-backend": "^11.1.3",
"react-dom": "^16.13.1",
"react-dropdown": "^1.6.4",
"react-dropzone": "^8.0.3",
"react-hotkeys": "^2.0.0",
"react-measure": "^2.3.0",
"react-modal": "^3.16.3",
"react-numeric-input": "^2.2.3",
"react-popover": "^0.5.10",
"react-reflex": "^3.0.6",
"react-resize-detector": "^3.1.3",
"react-rnd": "^10.5.2",
"react-scripts": "^5.0.1",
"react-select": "^2.1.0",
"react-sizeme": "^2.6.12",
"react-spinners": "^0.9.0",
"react-tabs": "^3.0.0",
"react-tiny-popover": "^5.1.0",
"react-toastify": "^4.5.2",
"react-tooltip": "^4.2.7",
"reactstrap": "^6.5.0",
"tinycolor2": "^1.6.0",
"underscore": "^1.13.7",
"url-parse": "^1.5.10"
},
"scripts": {
"tauri": "tauri",
"macapp": "tauri build --verbose",
"winapp": "tauri build --target x86_64-pc-windows-gnu",
"build-macapp": "tauri build --verbose",
"build-winapp": "tauri build --target x86_64-pc-windows-gnu",
"copy-pdf-worker": "shx cp node_modules/pdfjs-dist/legacy/build/pdf.worker.min.js public/pdf.worker.min.js",
"eject": "react-scripts eject",
"start": "npm run copy-pdf-worker && react-scripts start",
"build": "npm run copy-pdf-worker && react-scripts build && echo 'candlestickers.app' > ./build/CNAME",
"build:nocname": "npm run copy-pdf-worker && react-scripts build",
"build-engine": "cd engine && shx mkdir -p dist && gulp && shx cp -r dist/. ../public/corelibs/wick-engine/",
"build-engine-windows": "cd engine && shx mkdir -p dist && gulp && shx cp -r dist/. ../public/corelibs/wick-engine/",
"test": "react-scripts test",
"engine-tests": "cd engine && npx http-server",
"predeploy": "npm run build",
"prerelease-deploy": "npm run build && shx cp -r build/* ../wick-editor-prerelease/ && cd ../wick-editor-prerelease && shx rm CNAME && echo 'test.candlestickers.app/' > CNAME && git add . && git commit -m 'update prerelease build' && git push --force",
"build:nocname:test": "PUBLIC_URL=/test/ npm run build:nocname",
"check-branch": "node -e \"const {execSync}=require('child_process'); const b=(process.env.GITHUB_HEAD_REF||process.env.GITHUB_REF_NAME||execSync('git rev-parse --abbrev-ref HEAD')).toString().trim(); if(b!=='development'){console.error('✖ Deploy test only from development (current: '+b+')'); process.exit(1);} console.log('✔ Branch ok:', b);\"",
"check-branch-prod": "node -e \"const {execSync}=require('child_process'); const b=(process.env.GITHUB_HEAD_REF||process.env.GITHUB_REF_NAME||execSync('git rev-parse --abbrev-ref HEAD')).toString().trim(); if(!['main','master'].includes(b)){console.error('✖ Deploy to prod only from main/master (current: '+b+')'); process.exit(1);} console.log('✔ Branch ok:', b);\"",
"master-deploy": "npm run check-branch-prod && gh-pages -d build -b gh-pages -m \"deploy prod\"",
"test-deploy": "npm run check-branch && PUBLIC_URL=/test/ npm run build:nocname && gh-pages -d build -b gh-pages --dest test -m \"deploy test\"",
"phonegap-deploy": "npm run build && cd ../wick-editor-phonegap && npm run prepare-dir && cd ../wick-editor && shx cp -r build/* ../wick-editor-phonegap/www && cd ../wick-editor-phonegap && npm run prepare-app && git add . && git commit -m 'update phonegap build' && git push --force",
"phonegap-predeploy": "npm run build && cd ../wick-editor-phonegap && npm run prepare-dir && cd ../wick-editor && shx cp -r build/* ../wick-editor-phonegap/www && cd ../wick-editor-phonegap && npm run prepare-app"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@tauri-apps/cli": "^2.9.1",
"dotenv": "^8.2.0",
"gh-pages": "^5.0.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-concat": "^2.6.1",
"gulp-header": "^2.0.9",
"gulp-rename": "^2.0.0",
"gulp-uglify": "^3.0.2",
"sass": "^1.83.4",
"shx": "^0.4.0"
},
"overrides": {
"form-data": "^4.0.4",
"ajv": "^8",
"fork-ts-checker-webpack-plugin": {
"ajv-keywords": "^5",
"schema-utils": "^4"
},
"babel-loader": {
"ajv": "^6"
},
"file-loader": {
"ajv": "^6"
},
"eslint": {
"ajv": "^6"
}
}
}