forked from decidim/decidim
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
75 lines (75 loc) · 2.2 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
{
"name": "a-decidim-app",
"description": "Note: this is not a package, just the dependencies for the project in the dev environment.",
"private": true,
"engines": {
"node": ">=16.13.0",
"npm": ">=7.21.1"
},
"files": [
"packages/**/*"
],
"browserslist": [
"extends @decidim/browserslist-config"
],
"prettier": "@decidim/prettier-config",
"scripts": {
"lint": "eslint -c .eslintrc.json --no-error-on-unmatched-pattern --ext .js,.jsx decidim-*",
"markdownlint": "markdownlint '**/*.md'",
"stylelint": "stylelint decidim-*/**/*.scss",
"prettier": "prettier --check 'decidim-*/**/*.scss'",
"prettify": "prettier --write 'decidim-*/**/*.scss'",
"test": "jest",
"test:watch": "npm run test -- --watch",
"test:ci": "npm run lint && npm run test"
},
"stylelint": {
"extends": "@decidim/stylelint-config"
},
"jest": {
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"url": "https://decidim.dev/"
},
"setupFiles": [
"<rootDir>/decidim-core/spec/js/entry_test.js",
"raf/polyfill"
],
"moduleFileExtensions": [
"js"
],
"moduleDirectories": [
"node_modules",
"decidim-core/app/packs"
],
"moduleNameMapper": {
"\\.(scss|css|less)$": "identity-obj-proxy"
},
"transform": {
"\\.yml$": "yaml-jest",
"\\.js$": "babel-jest"
},
"testRegex": "\\.(test|spec)\\.js$"
},
"dependencies": {
"@decidim/browserslist-config": "file:packages/browserslist-config",
"@decidim/core": "file:packages/core",
"@decidim/elections": "file:packages/elections",
"@decidim/webpacker": "file:packages/webpacker"
},
"devDependencies": {
"@decidim/dev": "file:packages/dev",
"@decidim/eslint-config": "file:packages/eslint-config",
"@decidim/prettier-config": "file:packages/prettier-config",
"@decidim/stylelint-config": "file:packages/stylelint-config",
"babel-jest": "^29.6.1",
"concat-stream": "^2.0.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.7",
"jest": "^29.6.1",
"jest-environment-jsdom": "^29.6.1",
"jest-localstorage-mock": "^2.4.26",
"react-test-renderer": "^16.0.0",
"yaml-jest": "^1.2.0"
}
}