-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 4.11 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 4.11 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "boxl",
"version": "4.0.1",
"description": "Layout primitives for the styled component age.",
"author": "Crema",
"repository": {
"type": "git",
"url": "https://github.com/cremalab/boxl"
},
"license": "ISC",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"files": [
"dist/index.d.ts",
"dist/index.js",
"dist/lib/boxl/index.d.ts",
"dist/lib/types/index.d.ts"
],
"watch": {
"test:visual": {
"patterns": [
"src"
],
"extensions": "ts,tsx"
}
},
"scripts": {
"build": "npm run clean && rollup -c rollup.config.js",
"build:watch": "npm run build -- -w",
"clean": "rm -rf ./dist",
"jest:src": "jest 'src.*/test.(ts|tsx)' --env=jsdom",
"jest:build": "jest test-build.test.ts --env=jsdom",
"prepublishOnly": "npm run prepush",
"precommit": "./precommit.sh",
"precommit-scripts": "npm run test:ci",
"prepush": "npm run test:ci",
"start": "npm run test:playground",
"test:ci": "CI=true run-s test:unit test:playground:build test:visual:ci test:example:ci test:build",
"test:build": "run-s build jest:build",
"test:example": "loki --configurationFilter example --storiesFilter ^Example.+$",
"test:example:ci": "loki --reactUri file:./storybook-static --configurationFilter example --storiesFilter ^Example.+$",
"test:example:approve": "loki approve --configurationFilter example --storiesFilter ^Example.+$",
"test:example:update": "loki update --configurationFilter example --storiesFilter=^Example.+$",
"test:playground": "start-storybook -p 6006",
"test:playground:build": "build-storybook",
"test:unit": "npm run jest:src",
"test:unit:coverage": "npm run jest:src -- --coverage",
"test:unit:coverage:ci": "npm run test:unit:coverage && codecov",
"test:unit:watch": "npm run jest:src -- --watch",
"test:unit:watch:coverage": "npm run jest:src -- --watch --coverage",
"test:visual": "loki --configurationFilter box",
"test:visual:ci": "loki --requireReference --reactUri file:./storybook-static --configurationFilter box",
"test:visual:approve": "loki approve --configurationFilter box",
"test:visual:update": "loki update --configurationFilter box",
"test:visual:watch": "npm run watch",
"watch": "npm-watch"
},
"dependencies": {},
"peerDependencies": {
"react": ">= 16.3.0",
"react-dom": ">= 16.3.0",
"styled-components": ">= 4.0.0"
},
"devDependencies": {
"@storybook/addon-actions": "^3.4.11",
"@storybook/addon-links": "^3.4.11",
"@storybook/addons": "^3.4.11",
"@storybook/react": "^3.4.11",
"@types/jest": "^23.3.9",
"@types/react": "^16.7.11",
"@types/react-dom": "^16.0.11",
"@types/react-test-renderer": "^16.0.3",
"@types/storybook__react": "^3.0.9",
"@types/styled-components": "^4.1.4",
"babel-core": "^6.26.3",
"glob": "^7.1.3",
"husky": "^1.1.3",
"jest": "^23.6.0",
"jest-styled-components": "^6.3.1",
"loki": "^0.14.1",
"markdown-decorator": "^1.0.0",
"npm-run-all": "^4.1.5",
"npm-watch": "^0.5.0",
"prettier": "^1.14.3",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-test-renderer": "^16.6.0",
"react-testing-library": "^5.3.1",
"rollup": "^0.65.2",
"rollup-plugin-filesize": "^4.0.1",
"rollup-plugin-typescript2": "^0.17.2",
"styled-components": "^4.1.2",
"ts-jest": "^23.10.4",
"ts-loader": "^3.5.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-plugin-prettier": "^1.3.0",
"tslint-react": "^3.6.0",
"typescript": "^3.4.5"
},
"loki": {
"requireReference": true,
"configurations": {
"box": {
"target": "chrome.docker",
"width": 500,
"height": 500,
"deviceScaleFactor": 1,
"mobile": false,
"fitWindow": false
},
"example": {
"target": "chrome.docker",
"width": 898,
"height": 0,
"deviceScaleFactor": 2,
"mobile": false,
"fitWindow": false
}
}
},
"husky": {
"hooks": {
"pre-push": "npm run prepush",
"pre-commit": "npm run precommit"
}
}
}