-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 2.24 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
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "pixaki",
"version": "0.1.8",
"description": "",
"scripts": {
"build": "rimraf dist && npx webpack && node chmod && cp src/package.json dist/package.json && cp src/README.md dist/README.md",
"link": "cd dist && npm link && cd ..",
"preDeploy": "npm run build && npm run link && npm run test:success",
"test:basic": "npm run test:export:success && npm run test:layer:success",
"test:export:success": "pixaki export testFiles/crate.pixaki && pixaki export testFiles/grogu.pixaki && px e testFiles/ipad-share.pixaki",
"test:layer:success": "pixaki layer testFiles/crate.pixaki 'Arbitrary Map' && pixaki layer testFiles/another-crate.pixaki 'RangeTest' && pixaki layer testFiles/another-crate.pixaki 'Static'",
"test:columns:success": "pixaki export testFiles/crate.pixaki --columns=1 && pixaki layer testFiles/crate.pixaki 'Arbitrary Map' --columns=1",
"test:outDir:success": "pixaki export 'testFiles/**/*.pixaki' --columns=1 --outDir=OUT_DIR && pixaki layer 'testFiles/**/*.pixaki' 'Arbitrary Map' --columns=1 --outDir=OUT_DIR",
"test:success": "npm run test:export:success && npm run test:layer:success && npm run test:columns:success && npm run test:outDir:success",
"test:export:failure": "pixaki export testFiles/crat.pixaki",
"test:layer:failure": "pixaki layer testFiles/crate.pixaki 'Nonexistent Layer'",
"test:failure": "npm run test:export:failure && npm run test:layer:failure"
},
"main": "src/cli.ts",
"author": "",
"license": "ISC",
"bin": {
"pixaki": "./dist/cli.js"
},
"browser": {
"child_process": false
},
"dependencies": {
"assert": "^2.0.0",
"commander": "^7.2.0",
"copy-dir": "^1.3.0",
"decompress": "^4.2.1",
"fs-extra": "^10.0.0",
"glob": "^7.1.6",
"gm": "^1.23.1",
"imagemagick": "^0.1.3",
"is-directory": "^0.3.1",
"is-zip": "^1.0.0",
"path": "^0.12.7",
"rimraf": "^3.0.2",
"shelljs": "^0.8.4"
},
"devDependencies": {
"@types/fs-extra": "^9.0.11",
"@types/glob": "^7.1.3",
"@types/gm": "^1.18.9",
"@types/imagemagick": "0.0.30",
"@types/node": "^14.14.41",
"@types/shelljs": "^0.8.8",
"ts-loader": "^9.0.2",
"typescript": "^4.2.4",
"webpack": "^5.35.0",
"webpack-cli": "^4.6.0"
}
}