-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.85 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
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
{
"name": "twine-parsers",
"main": "dist/es6.node/index.js",
"version": "0.1.0",
"description": "Formal grammars and generated parsers for an abstract Twine interface.",
"scripts": {
"build": "npm run build-parsers && npm run build-node && npm run build-browser",
"build-parsers": "npm run build-gately-parser && npm run build-harlowe-parser && npm run build-sugar-parser",
"build-gately-parser": "pegjs --format es -o src/Parsers/GatelyGeneratedParser.js src/Parsers/gately.pegjs",
"build-harlowe-parser": "pegjs --format es -o src/Parsers/HarloweGeneratedParser.js src/Parsers/harlowe.pegjs",
"build-sugar-parser": "pegjs --format es -o src/Parsers/SugarGeneratedParser.js src/Parsers/sugar.pegjs",
"build-node": "npm run build-node-esnext && npm run build-node-es6 && npm run build-node-es5 && npm run build-node-es3 && npm run build-declaration-files",
"build-node-esnext": "tsc --project tsconfig.esnext.json",
"build-node-es6": "tsc --project tsconfig.es6.json",
"build-node-es5": "tsc --project tsconfig.es5.json",
"build-node-es3": "tsc --project tsconfig.es3.json",
"build-declaration-files": "tsc --project tsconfig.d.json && cp dist/esnext.node/index.d.ts src/",
"build-browser": "webpack --display-modules",
"test": "jest",
"test-coverage": "jest --coverage",
"test-watch": "jest --watch",
"test-coverage-watch": "jest --coverage --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/furkleindustries/twine-parsers.git"
},
"keywords": [
"formal grammars",
"parser",
"parsers",
"pegjs",
"twine",
"twine parsers"
],
"author": "furkle",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/furkleindustries/twine-parsers/issues"
},
"homepage": "https://github.com/furkleindustries/twine-parsers#readme",
"devDependencies": {
"@types/css": "0.0.31",
"@types/esprima": "^4.0.1",
"@types/estree": "0.0.38",
"@types/node": "^8.5.1",
"@types/pegjs": "^0.10.0",
"@types/semver": "^5.4.0",
"babel-cli": "^6.26.0",
"babel-env": "^2.4.1",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"jest": "^21.2.1",
"pegjs": "^0.10.0",
"ts-jest": "^21.2.4",
"twine-tree": "^0.1.3",
"typescript": "^2.6.2",
"webpack": "^3.10.0"
},
"dependencies": {
"css": "^2.2.1",
"esprima": "^4.0.0"
},
"jest": {
"mapCoverage": true,
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"<rootDir>/src/**/*.test.js"
],
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"transformIgnorePatterns": [
"/node_modules/*",
"/src/Parser/*Parser.js"
]
}
}