forked from philschatz/puzzlescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
173 lines (173 loc) · 6.85 KB
/
package.json
File metadata and controls
173 lines (173 loc) · 6.85 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"scripts": {
"lint": "tslint --fix --config ./tslint.json --project ./ --format stylish",
"compile": "npm run-script compile:grammar && npm run-script compile:thumbnail",
"precompile:thumbnail": "npm run-script compile:ts",
"compile:thumbnail": "node ./lib/cli/buildGameIcons.js",
"compile:grammar": "nearleyc --minify-rule-names ./src/parser/grammar.ne > ./src/parser/grammar.ts",
"compile:ts": "tsc && cp ./src/sound/sfxr.js ./lib/sound/ && cp ./src/sound/sfxr-browser.js ./lib/sound/",
"ci": "npm run-script test",
"postci": "npm run-script docs && codecov",
"tsc:watch": "cp ./src/sound/sfxr.js ./lib/sound/ && cp ./src/sound/sfxr-browser.js ./lib/sound/ && tsc --watch",
"docs": "typedoc --ignoreCompilerErrors --mode modules --excludePrivate --excludeExternals --theme minimal --readme ./README.md --out ./docs/ ./src/",
"start": "NODE_ENV=production node -r source-map-support/register ./bin/puzzlescript.js",
"start:only": "NODE_ENV=production node -r source-map-support/register ./bin/puzzlescript.js",
"start:debug": "node --inspect -r source-map-support/register ./bin/puzzlescript.js 2> ./play.log",
"start:dev": "LOG_LEVEL=debug NODE_ENV=development node -r source-map-support/register ./bin/puzzlescript.js 2> ./play.log",
"demo": "NODE_ENV=production node -r source-map-support/register ./bin/puzzlescript-demo.js",
"demo:dev": "LOG_LEVEL=debug NODE_ENV=development node -r source-map-support/register ./bin/puzzlescript-demo.js 2> ./start.log",
"demo:coverage": "LOG_LEVEL=debug NODE_ENV=development nyc --all -x '**/node_modules/**' ./bin/puzzlescript-demo.js 2> ./start.log",
"demo:debug": "LOG_LEVEL=debug NODE_ENV=development node --inspect-brk ./bin/puzzlescript-demo.js 2> ./start.log",
"demo:debug-cli": "LOG_LEVEL=debug NODE_ENV=development node inspect ./bin/puzzlescript-demo.js 2> ./start.log",
"pretest": "npm run-script compile:grammar && node ./script/doBatchStuff.js",
"test": "npm run-script test:unit && npm run-script test:browser",
"test:unit": "VERIFY_MATCHES=true NODE_ENV=development jest --coverage --updateSnapshot --verbose --detectLeaks --detectOpenHandles --testPathPattern '^((?!browser).)*\\.spec\\.ts'",
"pretest:browser": "npm run-script build && npm run-script compile:thumbnail",
"test:browser": "NODE_ENV=development jest --updateSnapshot --verbose --detectOpenHandles --testPathPattern 'browser\\.spec\\.ts'",
"posttest": "npm run-script test:cli && npm run-script lint",
"test:debug": "NODE_ENV=development node --inspect-brk -r source-map-support/register $(npm bin)/jest -i --updateSnapshot --detectLeaks --detectOpenHandles",
"pretest:cli": "npm run-script compile:ts",
"test:cli": "nyc --all -x '**/node_modules/**' -x 'lib/sound/sfxr.js' ./bin/puzzlescript.js --no-ui --game 'Beam Islands' --level 1 --size small --resume",
"test:server": "serve --listen 8000 .",
"prebuild": "rimraf ./precache-manifest.*.js",
"build": "webpack",
"postbuild": "npm run-script compile:thumbnail",
"build:dev": "webpack --mode development",
"build:stats": "webpack --profile --json > ./webpack-stats.json",
"watch": "jest --updateSnapshot --watch",
"debug": "VERIFY_MATCHES=true LOG_LEVEL=debug NODE_ENV=development node --inspect -r source-map-support/register ./bin/puzzlescript.js 2> ./play.log"
},
"bin": {
"puzzlescript": "./bin/puzzlescript.js",
"puzzlescript-demo": "./bin/puzzlescript-demo.js"
},
"dependencies": {
"@types/jest": "^24.0.17",
"ansi-escapes": "^4.0.0",
"ansi-styles": "^4.0.0",
"bitset": "^5.0.4",
"chalk": "^2.4.1",
"commander": "^3.0.0",
"eventemitter2": "^6.4.3",
"firstline": "^2.0.2",
"font-ascii": "^1.1.16",
"fs-extra": "^8.0.0",
"glob": "^7.1.3",
"inquirer": "7.0.0",
"inquirer-autocomplete-prompt": "^1.0.1",
"nearley": "github:philschatz/nearley#24685991e203fd6645a6f687198687aa42b7d6f2",
"pify": "^4.0.0",
"supports-color": "^7.0.0",
"update-notifier": "^3.0.1",
"web-audio-api": "^0.2.2"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-typescript": "^7.1.0",
"@types/ansi-escapes": "^4.0.0",
"@types/ansi-styles": "^3.2.1",
"@types/glob": "^7.1.1",
"@types/inquirer": "6.0.2",
"@types/nearley": "^2.11.0",
"@types/pify": "^3.0.2",
"@types/puppeteer": "^1.11.1",
"@types/supports-color": "^5.3.0",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-polyfill": "^6.26.0",
"codecov": "^3.1.0",
"dialog-polyfill": "^0.5.0",
"html-webpack-plugin": "^3.2.0",
"javascript-time-ago": "^2.0.1",
"jest": "^23.6.0",
"jest-puppeteer": "^4.0.0",
"lighthouse": "^5.0.0",
"mkdirp": "^0.5.1",
"node-fetch": "^2.3.0",
"nyc": "^15.1.0",
"process-nextick-args": "^2.0.0",
"puppeteer": "^1.11.0",
"remap-istanbul": "^0.13.0",
"script-ext-html-webpack-plugin": "^2.1.3",
"serve": "^11.1.0",
"source-map-support": "^0.5.9",
"sourcemapped-stacktrace-node": "github:philschatz/sourcemapped-stacktrace-node#2a76787b5f9356b3798788942947e05a5bc8ecc2",
"svg-to-png": "^4.0.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"tslint-config-standard": "^9.0.0",
"typedoc": "^0.14.0",
"typescript": "^3.2.2",
"util-deprecate": "^1.0.2",
"weak": "^1.0.1",
"webpack": "^4.39.2",
"webpack-cli": "^3.1.2",
"workbox-webpack-plugin": "^4.3.1"
},
"optionalDependencies": {
"speaker": "github:philschatz/node-speaker#cac7c5b7c434b52619bfbbd9530ab0871156e815"
},
"jest": {
"preset": "jest-puppeteer",
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$"
],
"testRegex": "(\\.|/)?spec\\.tsx?$"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-typescript"
]
},
"standard": {
"parser": "typescript-eslint-parser",
"plugins": [
"typescript"
]
},
"name": "puzzlescript",
"description": "Play PuzzleScript games in your terminal!",
"version": "5.3.0",
"main": "lib/index.js",
"directories": {
"lib": "lib"
},
"repository": {
"type": "git",
"url": "git+https://github.com/philschatz/puzzlescript.git"
},
"keywords": [
"puzzlescript",
"game",
"console",
"terminal"
],
"engines": {
"node": ">=4.0.0"
},
"browserslist": [
"> .2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"author": "Philip Schatz",
"license": "MIT",
"bugs": {
"url": "https://github.com/philschatz/puzzlescript/issues"
},
"homepage": "https://github.com/philschatz/puzzlescript"
}