-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
31 lines (31 loc) · 2.47 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
{
"name": "google_modes",
"version": "1.0.0",
"description": "Modes following Google's style",
"main": "index.js",
"scripts": {
"build-cpp": "grammar-mode --es-module src/cpp.grammar --output src/cpp.mode.js && rollup -c rollup.config.js src/cpp.js -o dist/cpp.js",
"build-clif": "grammar-mode --es-module src/clif.grammar --output src/clif.mode.js && rollup -c rollup.config.js src/clif.js -o dist/clif.js",
"build-fbs": "grammar-mode --es-module src/flatbuffers.grammar --output src/flatbuffers.mode.js && rollup -c rollup.config.js src/flatbuffers.js -o dist/flatbuffers.js",
"build-c": "grammar-mode --es-module src/c.grammar --output src/c.mode.js && rollup -c rollup.config.js src/c.js -o dist/c.js",
"build-js": "grammar-mode --es-module src/javascript.grammar --output src/javascript.mode.js && rollup -c rollup.config.js src/javascript.js -o dist/javascript.js",
"build-ts": "grammar-mode --es-module src/typescript.grammar --output src/typescript.mode.js && rollup -c rollup.config.js src/typescript.js -o dist/typescript.js",
"build-py": "grammar-mode --es-module src/python.grammar --output src/python.mode.js && rollup -c rollup.config.js src/python.js -o dist/python.js",
"build-go": "grammar-mode --es-module src/go.grammar --output src/go.mode.js && rollup -c rollup.config.js src/go.js -o dist/go.js",
"build-java": "grammar-mode --es-module src/java.grammar --output src/java.mode.js && rollup -c rollup.config.js src/java.js -o dist/java.js",
"build-kotlin": "grammar-mode --es-module src/kotlin.grammar --output src/kotlin.mode.js && rollup -c rollup.config.js src/kotlin.js -o dist/kotlin.js",
"build-html": "grammar-mode --es-module src/html.grammar --output src/html.mode.js && rollup -c rollup.config.js src/html.js -o dist/html.js",
"build-ng": "grammar-mode --es-module src/angulartemplate.grammar --output src/angulartemplate.mode.js && rollup -c rollup.config.js src/angulartemplate.js -o dist/angulartemplate.js",
"build": "npm run build-js && npm run build-ts && npm run build-c && npm run build-cpp && npm run build-clif && npm run build-fbs && npm run build-py && npm run build-go && npm run build-java && npm run build-html && npm run build-ng && npm run build-kotlin",
"test": "node test/run.js",
"prepare": "npm run build && npm test"
},
"dependencies": {
"codemirror": "^5.42.2"
},
"devDependencies": {
"@rollup/plugin-buble": "^0.21.3",
"codemirror-grammar-mode": "^0.1.10",
"rollup": "^2.42.1"
}
}