UNPKG

1.59 kBJSONView Raw
1{
2 "name": "compote",
3 "version": "1.1.1",
4 "license": "MIT",
5 "main": "compote.js",
6 "types": "compote.d.ts",
7 "scripts": {
8 "build:todomvc:tsc": "tsc ./examples/todomvc.ts --declaration false --lib es6,dom --module es6 --outDir ./build",
9 "build:todomvc:rollup": "rollup ./build/examples/todomvc.js -o ./build/todomvc.js -g mithril:m -f es",
10 "build:todomvc": "npm run build:todomvc:tsc && npm run build:todomvc:rollup",
11 "build:components": "node ./components.js",
12 "build": "tsc && npm run build:todomvc && npm run build:components",
13 "start": "serve --port 3000",
14 "test": "jest",
15 "jest": "jest --watch"
16 },
17 "peerDependencies": {
18 "mithril": "1.x.x"
19 },
20 "dependencies": {
21 "@types/mithril": "1.1.2",
22 "bootstrap-sass": "3.3.7",
23 "mithril": "1.1.1",
24 "redux": "3.6.0",
25 "timeago.js": "3.0.1"
26 },
27 "devDependencies": {
28 "@types/jest": "19.2.2",
29 "glob": "7.1.1",
30 "jest": "19.0.2",
31 "rollup": "0.41.6",
32 "serve": "5.1.4",
33 "ts-jest": "19.0.14",
34 "typescript": "2.3.2"
35 },
36 "jest": {
37 "collectCoverage": true,
38 "collectCoverageFrom": [
39 "components/**/*.{ts,tsx}",
40 "!components/**/*.test.{ts,tsx}",
41 "!components/**/*.d.ts",
42 "!node_modules/**"
43 ],
44 "moduleFileExtensions": [
45 "ts",
46 "tsx",
47 "js"
48 ],
49 "moduleNameMapper": {
50 "\\.(s?css|less)$": "<rootDir>/components/jest/style.js"
51 },
52 "testRegex": "(/__tests__/.*|\\.test)\\.(ts|tsx|js)$",
53 "transform": {
54 ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
55 }
56 }
57}