-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
121 lines (121 loc) · 3.69 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@vtex/profile-form",
"license": "AGPL-3.0-only",
"scripts": {
"lint": "eslint --ext js,jsx,ts,tsx .",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json}\"",
"build": "npm run symlinks && nwb build-react-component --no-demo && npm run removeMocks && npm run addLocales",
"build:link": "npm link && watch 'npm run build' src",
"removeMocks": "rm -rf lib/**/__mocks__ && rm -rf lib/__mocks__",
"addLocales": "cp -R -f messages/ lib/locales/",
"clean": "nwb clean-module && nwb clean-demo",
"start": "npm run symlinks && nwb serve-react-demo",
"symlinks": "rm -rf src && ln -sf react src",
"test": "jest --env=jsdom",
"test:coverage": "jest --env=jsdom --coverage",
"test:watch": "jest --env=jsdom --watch",
"vtex:link": "npm run symlinks && vtex link",
"prepublishOnly": "npm run build",
"locales:lint": "intl-equalizer",
"locales:fix": "intl-equalizer --fix"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn locales:lint && yarn test"
}
},
"lint-staged": {
"!(local_dependencies)/**/*.{ts,js,tsx,jsx}": [
"eslint --fix",
"prettier --write"
],
"!(local_dependencies)/**/*.{json,graphql,gql}": [
"prettier --write"
]
},
"devDependencies": {
"@vtex/intl-equalizer": "^2.4.2",
"@vtex/prettier-config": "^0.1.3",
"babel-jest": "^23.6.0",
"babel-plugin-add-react-displayname": "0.0.5",
"babel-preset-react-app": "^3.1.2",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-react-intl": "^2.0.0",
"eslint": "^6.8.0",
"eslint-config-vtex": "^12.2.1",
"eslint-config-vtex-react": "^6.2.1",
"husky": "^4.2.0",
"jest": "^22.4.4",
"jest-enzyme": "^6.0.2",
"lint-staged": "^10.0.2",
"nwb": "file:local_dependencies/nwb",
"prettier": "^1.19.1",
"react-dom": "^16.4.1",
"react-hot-loader": "^4.3.4",
"react-test-renderer": "^16.4.1",
"typescript": "^3.7.5"
},
"version": "2.7.1",
"description": "React component for managing user profiles",
"main": "lib/index.js",
"files": [
"lib"
],
"repository": "https://github.com/vtex/profile-form",
"author": "Gustavo Silva (@akafts)",
"homepage": "https://github.com/vtex/profile-form",
"keywords": [
"react-component",
"vtex",
"profile"
],
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/react/__tests__/setupTests.js",
"testURL": "http://localhost",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/es/",
"<rootDir>/lib/",
"<rootDir>/umd/",
"<rootDir>/src/",
"setupTests"
],
"modulePathIgnorePatterns": [
"<rootDir>/es/",
"<rootDir>/lib/",
"<rootDir>/umd/",
"<rootDir>/src/",
"local_dependencies"
],
"transformIgnorePatterns": [
"[/\\\\]lib[/\\\\].+\\.(js|jsx)$",
"[/\\\\]umd[/\\\\].+\\.(js|jsx)$",
"[/\\\\]es[/\\\\].+\\.(js|jsx)$",
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleNameMapper": {
"\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)(\\?.*)?$": "identity-obj-proxy"
},
"transform": {
"^.+\\.js$": "<rootDir>/jest.transform.js"
}
},
"dependencies": {
"phantomjs-prebuilt": "file:local_dependencies/phantomjs-prebuilt",
"karma-phantomjs-launcher": "file:local_dependencies/karma-phantomjs-launcher",
"@vtex/phone": "^4.8.0",
"@vtex/styleguide": "^5.4.4",
"downshift": "^2.0.20",
"match-sorter": "^2.2.3",
"moment": "^2.22.2",
"msk": "^1.0.3",
"node-gyp": "^10.0.1",
"react": "^16.4.1",
"react-intl": "^2.4.0"
},
"peerDependencies": {
"vtex-tachyons": "^2.5.0"
}
}