UNPKG

4 kBJSONView Raw
1{
2 "name": "@akashic/akashic-cli-export-html",
3 "version": "0.6.1",
4 "description": "A module to convert your Akashic game to a runnable standalone.",
5 "main": "lib/index.js",
6 "scripts": {
7 "prepublish": "npm run clean && npm run build && node ./build-template-support/checkAkashicVersions",
8 "clean": "shx rm -rf lib && shx rm -rf spec/build",
9 "start": "npm run build && node bin/run",
10 "build": "npm run build:app && npm run build:export && npm run build:templates && shx cp ./templates/engineFilesVersion.json ./lib",
11 "build:app": "tsc -p ./",
12 "build:export": "npm run build:export:tsc && npm run build:export:copy",
13 "build:export:tsc": "tsc -p ./src/export/tsconfig.json",
14 "build:export:copy": "npm run build:export:copy:v1 && npm run build:export:copy:v2 && npm run build:export:copy:v3",
15 "build:export:copy:v1": "shx mkdir -p templates-build/v1/js && shx cp -r tmp/export/build templates-build/v1/js",
16 "build:export:copy:v2": "shx mkdir -p templates-build/v2/js && shx cp -r tmp/export/build templates-build/v2/js",
17 "build:export:copy:v3": "shx mkdir -p templates-build/v3/js && shx cp -r tmp/export/build templates-build/v3/js",
18 "build:templates": "npm run build:template:v1 && npm run build:template:v2 && npm run build:template:v3 && npm run build:template:ejs",
19 "build:template:v1": "cd templates/template-export-html-v1 && npm install && npm run build && cd ../../",
20 "build:template:v2": "cd templates/template-export-html-v2 && npm install && npm run build && cd ../../",
21 "build:template:v3": "cd templates/template-export-html-v3 && npm install && npm run build && cd ../../",
22 "build:template:ejs": "shx cp templates/bundle-index.ejs templates-build/ && shx cp templates/no-bundle-index.ejs templates-build/",
23 "lint": "tslint -c ../tslint.json --project ./tsconfig.json && npm run lint-js",
24 "lint-js": "eslint ./templates/**/*.js",
25 "test": "npm run test:jest && npm run lint",
26 "test:jest": "jest",
27 "update-template": "npm run update-template:v1 && npm run update-template:v2 && npm run update-template:v3 && node ./build-template-support/updateEngineFiles.js",
28 "update-template:v1": "node ./build-template-support/generateAkashicVersionsFile v1 && cd templates/template-export-html-v1 && npm run update && npm run build && cd ../../",
29 "update-template:v2": "node ./build-template-support/generateAkashicVersionsFile v2 && cd templates/template-export-html-v2 && npm run update && npm run build && cd ../../",
30 "update-template:v3": "node ./build-template-support/generateAkashicVersionsFile v3 && cd templates/template-export-html-v3 && npm run update && npm run build && cd ../../"
31 },
32 "author": "DWANGO Co., Ltd.",
33 "license": "MIT",
34 "bin": {
35 "akashic-cli-export-html": "./bin/run"
36 },
37 "files": [
38 "README.md",
39 "bin",
40 "lib",
41 "templates-build",
42 "package.json"
43 ],
44 "devDependencies": {
45 "@akashic/akashic-engine": "~2.6.1",
46 "@types/archiver": "2.1.3",
47 "@types/commander": "2.12.0",
48 "@types/ejs": "2.7.0",
49 "@types/fs-extra": "5.1.0",
50 "@types/fs-readdir-recursive": "1.0.0",
51 "@types/node": "8.10.59",
52 "@types/uglify-js": "2.6.32",
53 "browserify": "13.3.0",
54 "eslint": "6.8.0",
55 "jest": "24.9.0",
56 "mock-fs": "4.10.4",
57 "node-fetch": "2.6.0",
58 "shx": "0.3.2",
59 "tslint": "5.20.1",
60 "typescript": "3.7.5",
61 "uglify-save-license": "0.4.1",
62 "vinyl-source-stream": "1.1.2",
63 "zip": "1.2.0"
64 },
65 "typings": "lib/index.d.ts",
66 "dependencies": {
67 "@akashic/akashic-cli-commons": "0.4.0",
68 "@akashic/akashic-cli-export-zip": "0.5.0",
69 "archiver": "~3.1.0",
70 "commander": "2.20.3",
71 "ejs": "~2.7.1",
72 "fs-extra": "3.0.1",
73 "fs-readdir-recursive": "~0.1.2",
74 "https": "~1.0.0",
75 "uglify-js": "2.8.29"
76 },
77 "publishConfig": {
78 "access": "public",
79 "@akashic:registry": "https://registry.npmjs.org/"
80 },
81 "gitHead": "849defe004d5303102b39c2216778baa07f200aa"
82}