-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.67 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.67 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
{
"name": "typescript-react-library",
"version": "1.0.0",
"description": "Boilerplate for TypeScript React component library",
"repository": {
"type": "git",
"url": "https://github.com/bdoss/typescript-react-library.git"
},
"private": true,
"author": "bdoss",
"license": "MIT",
"scripts": {
"build": "npm run clean:build && npm run lint && tsc -p ./tsconfig.build.json && cp ./package.json ./dist/lib",
"clean:build": "rimraf ./dist/lib",
"dist": "cd ./dist/lib && npm publish",
"lint": "tslint ./src ./test",
"lintfix": "tslint --fix ./src ./test",
"testonly": "cross-env NODE_ENV=test NODE_PATH=src nyc mocha",
"test": "npm run lint && npm run testonly",
"test-watch": "npm run testonly -- --watch --watch-extensions ts,tsx",
"type-check": "tsc -p ./tsconfig.json --noEmit"
},
"devDependencies": {
"@types/chai": "^3.5.2",
"@types/enzyme": "^2.8.0",
"@types/jsdom": "^2.0.30",
"@types/mocha": "^2.2.41",
"@types/react": "^15.0.25",
"@types/react-dom": "^15.5.0",
"@types/react-test-renderer": "^15.5.0",
"@types/sinon": "^2.2.2",
"chai": "^3.5.0",
"cross-env": "^5.0.0",
"enzyme": "^2.2.0",
"jsdom": "^8.1.0",
"mocha": "^2.4.5",
"nyc": "^10.3.2",
"react": "^15.0.0",
"react-dom": "^15.0.0",
"react-test-renderer": "^15.5.4",
"rimraf": "^2.6.1",
"sinon": "^1.17.3",
"ts-node": "^3.0.4",
"typescript": "^2.3.4"
},
"peerDependencies": {
"react": "^15.0.0",
"react-dom": "^15.0.0"
}
}