-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
81 lines (81 loc) · 2.23 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
{
"name": "json-schema-view-js",
"version": "2.0.1",
"description": "JSON Schema View core library ",
"main": "dist/bundle.js",
"scripts": {
"start": "webpack-dev-server --open",
"test": "jest",
"build": "rm -rf ./dist && npm run build:prod && npm run build:dev",
"build:dev": "webpack --env.dev",
"build:prod": "webpack --env.production",
"prepublish": "npm run build",
"precommit": "lint-staged && npm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mohsen1/json-schema-view-js.git"
},
"keywords": [
"json"
],
"author": "Mohsen Azimi <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mohsen1/json-schema-view-js/issues"
},
"homepage": "https://github.com/mohsen1/json-schema-view-js#readme",
"dependencies": {
"json-formatter-js": "^2.2.0",
"vinyl": "^2.1.0"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"css-loader": "^0.28.7",
"eslint": "^4.9.0",
"eslint-loader": "^1.9.0",
"extract-text-webpack-plugin": "^3.0.2",
"html-webpack-plugin": "^2.30.1",
"husky": "^0.14.3",
"jest": "^21.2.1",
"jest-css-modules": "^1.1.0",
"less": "^3.0.0-alpha.3",
"less-loader": "^4.0.5",
"lint-staged": "^4.3.0",
"optimize-css-assets-webpack-plugin": "^3.2.0",
"style-loader": "^0.19.0",
"uglifyjs-webpack-plugin": "^1.0.0-beta.3",
"webpack": "^3.8.1",
"webpack-dev-server": "^2.9.3",
"webpack-stream": "^4.0.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"setupFiles": [],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)",
"<rootDir>/test/**/?(*.)js?(x)"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
".+\\.(css|styl|less|sass|scss)$": "<rootDir>/node_modules/jest-css-modules"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\](?!lodash-es).+\\.(js|jsx)$"
]
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
}
}