-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
98 lines (98 loc) · 2.99 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "gccx",
"version": "0.2.0",
"description": "Transforms CPX (JSX like syntax) into asm-dom Virtual DOM",
"main": "lib/index.js",
"jsnext:main": "es/index.js",
"files": [
"dist",
"lib",
"es",
"bin",
"src"
],
"scripts": {
"clean": "rimraf lib dist es bin src/language.js",
"compile:jison": "cd src && jison language.jison language.jisonlex && cd ..",
"test": "npm run compile:jison && npm run build:bin && cross-env BABEL_ENV=commonjs NODE_ENV=test jest \".spec.js\"",
"test:watch": "npm test -- --watchAll",
"test:cpp": "cross-env BABEL_ENV=commonjs NODE_ENV=test jest cpp.test.js",
"check:src": "npm run lint && npm run test",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --ignore cli",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore cli",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack --env.prod src/index.js dist/gccx.js",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack --env.prod src/index.js dist/gccx.min.js",
"build:bin": "cross-env BABEL_ENV=commonjs babel src --out-dir bin",
"build": "npm run compile:jison && npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min && npm run build:bin",
"prepublish": "npm run clean && npm run check:src && npm run build",
"lint": "eslint src test build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mbasso/gccx.git"
},
"keywords": [
"jsx",
"cpx",
"C++",
"vdom",
"virtual dom",
"html",
"webassembly",
"cli"
],
"author": "Matteo Basso (https://github.com/mbasso)",
"license": "MIT",
"bugs": {
"url": "https://github.com/mbasso/gccx/issues"
},
"homepage": "https://github.com/mbasso/gccx",
"devDependencies": {
"asm-dom": "0.3.0",
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "7.2.3",
"babel-loader": "7.1.2",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
"babel-plugin-transform-es3-member-expression-literals": "6.22.0",
"babel-plugin-transform-es3-property-literals": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"babel-register": "6.26.0",
"compression-webpack-plugin": "1.0.0",
"cross-env": "5.0.5",
"es6-promisify": "5.0.0",
"eslint": "4.6.1",
"eslint-config-airbnb": "15.1.0",
"eslint-plugin-import": "2.7.0",
"get-stream": "3.0.0",
"jest": "21.0.1",
"jison": "0.4.18",
"webpack": "3.5.5"
},
"dependencies": {
"chalk": "2.1.0",
"chokidar": "1.7.0",
"commander": "2.11.0",
"fs-extra": "4.0.2",
"rimraf": "2.6.2"
},
"bin": {
"gccx": "./bin/cli/index.js"
},
"npmName": "gccx",
"npmFileMap": [
{
"basePath": "/dist/",
"files": [
"*.js"
]
}
],
"browserify": {
"transform": [
"loose-envify"
]
}
}