-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.27 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
{
"name": "xatto",
"version": "1.4.3",
"reveal": true,
"description": "xatto is View Layer Library based on Function and Context using VirtualDOM. This is developed by forking from jorgebucaran/superfine.",
"keywords": [
"web",
"function",
"context",
"virtual-dom",
"vdom",
"jsx",
"view",
"frontend",
"ultradom",
"superfine",
"hyperapp"
],
"main": "dist/xatto.min.js",
"ts:main": "src/index.ts",
"typings": "dist/src/index.d.ts",
"repository": "git@github.com:atomita/xatto.git",
"author": "atomita",
"license": "MIT",
"scripts": {
"test": "jest --coverage --no-cache",
"build": "npm run bundle:clean && npm run minify",
"bundle": "rollup --config",
"bundle:clean": "rm -rf ./dist && npm run bundle",
"minify": "uglifyjs dist/xatto.js -o dist/xatto.min.js -mc pure_funcs=['Object.defineProperty'] --source-map includeSources,url=xatto.min.js.map",
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"subTaskConcurrency": 1,
"linters": {
"src/**/*.ts": [
"prettier --write",
"tslint --fix",
"git add"
]
}
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"globals": {
"ts-jest": {
"babelConfig": {
"presets": [
"power-assert"
]
}
}
}
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@types/jest": "^23.3.9",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6",
"babel-preset-power-assert": "^3.0.0",
"husky": "^2.2.0",
"jest": "^23.6.0",
"lint-staged": "^7.0.0",
"power-assert": "^1.6.0",
"prettier": "^1.11.1",
"rollup": "^0.57.1",
"rollup-plugin-typescript2": "^0.12.0",
"ts-jest": "^23.10.4",
"tslint": "^5.9.1",
"tslint-config-standard": "^8.0.1",
"typescript": "^2.9.2",
"uglify-js": "^3.3.16"
},
"dependencies": {}
}