UNPKG

3.65 kBJSONView Raw
1{
2 "name": "@artsy/fresnel",
3 "version": "1.3.0",
4 "description": "An SSR compatible approach to CSS media query based responsive layouts for React.",
5 "main": "dist/index.js",
6 "files": [
7 "dist"
8 ],
9 "publishConfig": {
10 "registry": "https://registry.npmjs.org/"
11 },
12 "typings": "dist/index.d.ts",
13 "scripts": {
14 "clean": "rm -rf dist",
15 "compile": "babel src --out-dir dist -s --source-map --extensions '.ts,.tsx' --ignore src/**/__tests__",
16 "kitchen-sink": "cd examples/kitchen-sink && yarn start",
17 "lint": "tslint -c tslint.json --project tsconfig.json",
18 "precommit": "lint-staged",
19 "prepush": "yarn run type-check",
20 "prepublishOnly": "yarn clean && yarn compile && yarn type-declarations",
21 "prettier": "prettier",
22 "prettier-project": "yarn prettier-write 'src/**/*.{ts,tsx}'",
23 "prettier-write": "yarn prettier --write",
24 "release": "auto shipit",
25 "test": "yarn type-check && yarn lint && yarn jest",
26 "type-check": "tsc --emitDeclarationOnly --pretty",
27 "type-declarations": "tsc --emitDeclarationOnly",
28 "watch": "concurrently --raw --kill-others 'yarn compile -w' 'tsc --emitDeclarationOnly -w'"
29 },
30 "repository": {
31 "type": "git",
32 "url": "git+ssh://git@github.com/artsy/fresnel.git"
33 },
34 "authors": [
35 "Eloy Durán <eloy.de.enige@gmail.com>",
36 "Art.sy Inc"
37 ],
38 "license": "MIT",
39 "bugs": {
40 "url": "https://github.com/artsy/fresnel/issues"
41 },
42 "homepage": "https://github.com/artsy/fresnel#readme",
43 "peerDependencies": {
44 "react": "^16.3.0"
45 },
46 "devDependencies": {
47 "@artsy/auto-config": "1.0.2",
48 "@artsy/detect-responsive-traits": "0.0.5",
49 "@babel/cli": "7.0.0",
50 "@babel/core": "7.0.0",
51 "@babel/node": "7.0.0",
52 "@babel/plugin-proposal-class-properties": "7.1.0",
53 "@babel/preset-env": "7.0.0",
54 "@babel/preset-react": "7.0.0",
55 "@babel/preset-typescript": "7.0.0",
56 "@types/chalk": "2.2.0",
57 "@types/express": "4.16.0",
58 "@types/jest": "23.3.1",
59 "@types/node": "10.9.4",
60 "@types/react": "16.8.18",
61 "@types/react-dom": "16.8.4",
62 "@types/react-test-renderer": "16.8.1",
63 "@types/webpack-dev-server": "3.1.1",
64 "babel-core": "7.0.0-bridge.0",
65 "babel-jest": "23.4.2",
66 "babel-loader": "8.0.4",
67 "babel-preset-env": "1.7.0",
68 "chalk": "2.4.1",
69 "concurrently": "3.6.1",
70 "express": "4.16.4",
71 "husky": "0.14.3",
72 "jest": "23.5.0",
73 "jest-styled-components": "6.2.2",
74 "lint-staged": "7.2.2",
75 "prettier": "1.17.1",
76 "react": "16.8.6",
77 "react-dom": "16.8.6",
78 "react-test-renderer": "16.8.6",
79 "static-extend": "0.1.2",
80 "styled-components": "3.4.5",
81 "tslint": "5.11.0",
82 "tslint-config-prettier": "1.15.0",
83 "tslint-react": "3.6.0",
84 "typescript": "4.0.3",
85 "typescript-styled-plugin": "0.6.3",
86 "webpack": "4.25.1",
87 "webpack-dev-server": "3.1.11"
88 },
89 "lint-staged": {
90 "*.@(ts|tsx)": [
91 "tslint -c tslint.json --fix",
92 "yarn prettier-write --",
93 "git add"
94 ]
95 },
96 "prettier": {
97 "semi": false,
98 "singleQuote": false,
99 "trailingComma": "es5",
100 "bracketSpacing": true,
101 "proseWrap": "always"
102 },
103 "jest": {
104 "transform": {
105 ".(ts|tsx)": "babel-jest"
106 },
107 "testRegex": "(/__tests__/.*|\\.(test))\\.(ts|tsx)$",
108 "testPathIgnorePatterns": [
109 "<rootDir>/dist/"
110 ],
111 "moduleFileExtensions": [
112 "ts",
113 "tsx",
114 "js"
115 ],
116 "modulePathIgnorePatterns": [
117 "<rootDir>/dist/*"
118 ],
119 "moduleDirectories": [
120 "node_modules",
121 "<rootDir>/src"
122 ]
123 },
124 "keywords": [
125 "react",
126 "responsive"
127 ]
128}