-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 2.12 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
{
"name": "jsx2posthtml",
"version": "1.2.0",
"description": "Converts JSX to PostHTML node",
"main": "./es2015-cjs/index.js",
"module": "./es5-esm/index.js",
"types": "./es2015/index.d.ts",
"scripts": {
"test": "npm run lint && if-env NODE_TEST_VARIANT=es5 && npm run test:es5-only || npm run test:main",
"test:main": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha --require ts-node/register \"test/**/*.{js,ts,tsx}\" ",
"test:es5-only": "mocha",
"lint:scripts-project": "tslint -c tslint-project.json -p tsconfig.json",
"lint:scripts-other": "tslint \"{*.js,src/*.d.ts,test/*.{ts,tsx}}\"",
"lint": "npm run lint:scripts-project && npm run lint:scripts-other",
"clean": "rimraf es2015 es2015-cjs es5-esm es5",
"build": "tsc",
"build:cjs": "tsc --module CommonJS --outDir ./es2015-cjs",
"build:es5": "tsc --target es5 --outDir ./es5-esm",
"build:umd": "rollup -c",
"build:all": "npm run build && npm run build:cjs && npm run build:es5 && npm run build:umd",
"minify": "uglifyjs ./es5/index.js -c -m -o ./es5/jsx2posthtml.min.js",
"prepublishOnly": "npm run test",
"prepare": "npm run clean && npm run build:all && npm run minify"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Avol-V/jsx2posthtml.git"
},
"keywords": [
"hyperscript",
"html",
"renderer",
"jsx",
"posthtml"
],
"author": "Andrey Volynkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/Avol-V/jsx2posthtml/issues"
},
"homepage": "https://github.com/Avol-V/jsx2posthtml#readme",
"devDependencies": {
"@types/chai": "^4.1.2",
"@types/mocha": "^2.2.48",
"@types/node": "^9.4.7",
"chai": "^4.1.2",
"cross-env": "^5.1.4",
"if-env": "^1.0.4",
"mocha": "^5.0.4",
"posthtml-parser": "^0.4.1",
"posthtml-render": "^1.1.1",
"rimraf": "^2.6.2",
"rollup": "^0.56.5",
"rollup-plugin-node-resolve": "^3.2.0",
"ts-node": "^5.0.1",
"tslint": "^5.9.1",
"tslint-config-avol": "^2.2.0",
"typescript": "^2.7.2",
"uglify-js": "^3.3.14"
},
"optionalDependencies": {
"tslib": "^1.7.1"
}
}