-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 3.35 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 3.35 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
{
"name": "crema-lib-ts",
"version": "1.0.0",
"description": "",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*",
"!dist/types/*.js",
"!dist/types/*.js.map"
],
"scripts": {
"start": "rm -rf ./dist && tsc --watch",
"build": "rm -rf ./dist && tsc",
"new:component": "hygen component new",
"new:type": "hygen type new",
"new:util": "hygen util new",
"pack:test": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz",
"prepack": "npm run build",
"prepush": "npm run test:ci",
"test:analyze": "npm-run-all build && source-map-explorer dist/index.js{,.map} dist/index.d.ts{,.map}",
"test:ci": "CI=true npm-run-all test:lint \"test:unit:ci -- -i\" test:visual:ci",
"test:lint": "eslint -c ./.eslintrc.js 'src/**/*.{ts,tsx}'",
"test:lint:fix": "npm run test:lint -- --fix",
"test:playground": "NODE_ENV=loki BABEL_ENV=development start-storybook -p 9009 -s public",
"test:playground:build": "build-storybook -s public",
"test:playground:ci": "start-storybook -p 5000 -s public --ci",
"test:unit": "jest --watchAll",
"test:unit:ci": "jest --coverage --passWithNoTests",
"test:unit:coverage": "npm run test:unit:ci -- --coverage",
"test:unit:coverage:ci": "npm run test:unit:coverage && codecov",
"test:unit:coverage:watch": "npm run test:unit:coverage -- --watchAll",
"test:visual": "CI=true loki --port 9009",
"test:visual:approve": "npm run test:visual -- approve",
"test:visual:ci": "start-server-and-test test:playground:ci http://localhost:5000 test:visual:ci:start",
"test:visual:ci:start": "CI=true loki --port 5000",
"test:visual:update": "npm run test:visual -- update"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.6.0",
"@storybook/addon-actions": "^5.1.11",
"@storybook/addon-links": "^5.1.11",
"@storybook/addons": "^5.1.11",
"@storybook/cli": "^5.1.11",
"@storybook/react": "^5.1.11",
"@testing-library/react": "^9.1.3",
"@types/jest": "^24.0.18",
"@types/storybook__addon-actions": "^3.4.3",
"@types/storybook__react": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"@typescript-eslint/parser": "^2.3.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.14.3",
"husky": "^3.0.5",
"hygen": "^4.0.9",
"jest": "^24.9.0",
"loki": "^0.17.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"react-test-renderer": "^16.9.0",
"source-map-explorer": "^2.0.1",
"start-server-and-test": "^1.10.0",
"typescript": "^3.6.3"
},
"husky": {
"hooks": {
"pre-push": "npm run prepush"
}
},
"loki": {
"requireReference": true,
"configurations": {
"chrome": {
"target": "chrome.docker",
"width": 800,
"height": 800,
"deviceScaleFactor": 1,
"mobile": false,
"fitWindow": false
}
}
},
"jest": {
"roots": ["src"],
"coverageDirectory": "../coverage",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": -10
}
}
}
}