-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·107 lines (107 loc) · 2.92 KB
/
package.json
File metadata and controls
executable file
·107 lines (107 loc) · 2.92 KB
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
99
100
101
102
103
104
105
106
107
{
"name": "@codeurs/front",
"version": "0.16.0",
"description": "Collection of mithril utilities and components",
"sideEffects": [
"*.css",
"*.less"
],
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/codeurs/front",
"author": "Ben Merckx <ben@codeurs.be>",
"license": "MIT",
"scripts": {
"dev": "run-s build less && run-p less watch examples:watch",
"build": "tsc",
"watch": "tsc --pretty --preserveWatchOutput -w",
"examples:watch": "cd examples && webpack --mode development -w",
"examples:build": "cd examples && webpack --mode production --optimize-minimize",
"ghpages": "run-s prepublishOnly examples:build",
"less": "copyfiles -u 1 \"./src/**/*.less\" dist",
"prepublishOnly": "rimraf dist && run-p build less",
"pretty:format": "prettier --print-width 80 --single-quote --write --no-semi --no-bracket-spacing --parser typescript --tab-width 2 --use-tabs",
"pretty:hyperscript": "perl -i -0777pe 's/\\bm\\(\\s+/m(/gs'",
"prepare": "symlink-dir . node_modules/@codeurs/front",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "node -e \"process.exit(require('os').platform() != 'win32')\" || lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": [
"npm run -s pretty:format",
"npm run -s pretty:hyperscript",
"git add"
],
"src/**/*.less": [
"prettier --write --tab-width 2 --use-tabs --parser postcss",
"git add"
]
},
"jest": {
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.ts$",
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
]
},
"dependencies": {
"@emotion/cache": "^10.0.7",
"@emotion/is-prop-valid": "^0.7.3",
"@emotion/serialize": "^0.11.4",
"@emotion/utils": "^0.11.1",
"@types/classnames": "^2.2.6",
"@types/deep-equal": "^1.0.1",
"@types/googlemaps": "^3.30.16",
"@types/jump.js": "^1.0.2",
"@types/load-google-maps-api": "^1.3.0",
"@types/mithril": "https://codeload.github.com/codeurs/mithril.d.ts/tar.gz/911e3bb343b77dc6839debc911e9829de2cefbcf",
"@types/throttle-debounce": "^1.1.1",
"classnames": "^2.2.5",
"core-js": "^3.0.1",
"deep-equal": "^1.0.1",
"jump.js": "codeurs/jump.js",
"load-google-maps-api": "^1.3.2",
"mithril": "2.0.0-rc.4",
"object-to-formdata": "codeurs/object-to-formdata",
"popmotion": "^8.6.4",
"scroll-into-view-if-needed": "^2.2.20",
"throttle-debounce": "^2.1.0",
"tslib": "^1.9.3"
},
"devDependencies": {
"@codeurs/packer": "=0.14.1",
"@types/jest": "^24.0.9",
"copyfiles": "^2.0.0",
"cross-env": "^5.2.0",
"husky": "^1.2.0",
"jest": "^24.1.0",
"lint-staged": "^8.1.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.15.3",
"rimraf": "^2.6.3",
"serve": "^10.1.2",
"style-loader": "^0.23.1",
"symlink-dir": "^2.0.2",
"ts-jest": "^24.0.0"
}
}