-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.05 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
{
"name": "frapp",
"version": "0.4.0",
"description": "Tiny typescript library to build fractal webapps.",
"main": "dist/frapp.js",
"minified:main": "dist/frapp.min.js",
"jsnext:main": "dist/frapp.es.js",
"module": "dist/frapp.es.js",
"typings": "dist/index.d.ts",
"license": "MIT",
"repository": "hyperstart/frapp",
"files": [
"dist"
],
"author": "Anthony Ferrando <ferrando.tony@gmail.com>",
"scripts": {
"clean": "rimraf dist .rpt2_cache",
"build": "npm run clean && npm run build:module && npm run build:main && npm run build:min",
"build:main": "rollup -c && rimraf .rpt2_cache",
"build:min": "rollup -c --min && bundlesize && rimraf .rpt2_cache",
"build:module": "rollup -c --es && rimraf .rpt2_cache",
"test": "jest --coverage",
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"dependencies": {
"picodom": "git+https://git@github.com/picodom/picodom.git"
},
"devDependencies": {
"@types/jest": "^21.1.5",
"bundlesize": "^0.15.3",
"jest": "21.2.1",
"prettier": "1.7.4",
"rimraf": "2.6.2",
"rollup": "0.50.0",
"rollup-plugin-commonjs": "8.2.6",
"rollup-plugin-node-resolve": "3.0.0",
"rollup-plugin-typescript2": "0.8.0",
"rollup-plugin-uglify": "2.0.1",
"ts-jest": "^21.1.4",
"typescript": "2.6.2",
"uglify-js": "3.2.2"
},
"bundlesize": [
{
"path": "./dist/frapp.min.js",
"maxSize": "4 kB"
}
],
"jest": {
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/tests/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"testURL": "http://test.com",
"mapCoverage": true,
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
},
"prettier": {
"semi": false
}
}