-
-
Notifications
You must be signed in to change notification settings - Fork 108
/
Copy pathpackage.json
100 lines (100 loc) · 2.64 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
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
{
"name": "the-platform",
"version": "0.10.1",
"author": "Jared Palmer <[email protected]>",
"repository": "palmerhq/the-platform",
"description": "React Hooks and Suspense-ready Components for Web API's and elements",
"keywords": [
"react",
"react-dom",
"suspense",
"hooks",
"react-hooks",
"react-suspense",
"react-cache"
],
"license": "MIT",
"main": "index.js",
"typings": "index.d.ts",
"scripts": {
"start": "NODE_ENV=development babel -w ./src --out-dir . --extensions \".ts,.tsx\"",
"build": "NODE_ENV=production npm run clean && babel ./src --out-dir . --extensions \".ts,.tsx\" && tsc",
"clean": "rimraf *.d.ts *.js",
"format": "prettier --trailing-comma es5 --single-quote --write 'src/**/*' 'exampe/src/**/*' 'example/README.md' 'README.md'",
"test": "jest",
"test:watch": "jest --watch",
"prepare": "npm run build",
"precommit": "lint-staged",
"deploy": "np"
},
"peerDependencies": {
"react": ">=16.6.0",
"react-cache": "^2.0.0-alpha.1",
"react-dom": ">=16.6.0"
},
"dependencies": {
"json2mq": "^0.2.0"
},
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@babel/runtime": "^7.1.5",
"@types/jest": "^23.3.9",
"@types/react": "^16.7.6",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"doctoc": "^1.3.1",
"fs-extra": "^7.0.0",
"husky": "^0.14.3",
"jest": "^23.6.0",
"jest-dom": "^2.1.0",
"lint-staged": "^7.2.2",
"np": "^3.0.4",
"prettier": "^1.14.3",
"react": "^16.7.0-alpha.2",
"react-dom": "^16.7.0-alpha.2",
"react-testing-library": "^5.2.3",
"rimraf": "^2.6.2",
"ts-jest": "^23.10.4",
"tsconfig-palmerhq": "^1.0.2",
"tslint-config-palmerhq": "^1.0.2",
"typescript": "^3.1.6"
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/tests/jest.setup.js",
"testRegex": "test.js$",
"moduleDirectories": [
"./node_modules",
"./src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest"
}
},
"lint-staged": {
"**/*.{js,jsx}": [
"npm run format",
"git add"
],
"README.md": [
"doctoc --maxlevel 3 README.md"
]
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true,
"semi": true
}
}