1 Star 0 Fork 0

sniper15 / pc-nrfconnect-launcher

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
package.json 6.58 KB
Copy Edit Web IDE Raw Blame History
{
"name": "nrfconnect",
"version": "3.4.0-rc.1",
"description": "nRF Connect for PC",
"repository": {
"type": "git",
"url": "https://github.com/NordicSemiconductor/pc-nrfconnect-launcher.git"
},
"main": "src/main",
"scripts": {
"start": "echo 'please run `npm run dev` in one tab and then `npm run app` in another one'",
"postinstall": "npm run get-jlink",
"app": "electron .",
"dev": "npm run lint-init && nrfconnect-scripts build-watch",
"webpack": "npm run lint-init && nrfconnect-scripts build-dev",
"build": "npm run lint-init && nrfconnect-scripts build-prod",
"lint-init": "nrfconnect-scripts lint-init",
"lint": "nrfconnect-scripts lint src test-e2e *.js",
"test": "jest --testResultsProcessor jest-bamboo-formatter src/",
"test-watch": "jest --watch src/",
"test-e2e": "xvfb-maybe jest --runInBand --moduleNameMapper '{}' --testTimeout=15000 --forceExit test-e2e/",
"clean": "npm install rimraf && npm run clean-build && npm run clean-release && npm run clean-modules",
"clean-build": "rimraf dist && rimraf build/nrfjprog",
"clean-release": "rimraf release",
"clean-modules": "rimraf \"node_modules/!(rimraf|.bin)\"",
"get-jlink": "get-jlink -o build",
"pack": "npm run build && electron-builder -p never",
"release": "electron-builder -p always",
"install-devtools": "electron . --install-devtools",
"remove-devtools": "electron . --remove-devtools"
},
"author": "Nordic Semiconductor ASA",
"license": "Proprietary",
"binary": {
"module_name": "pc-nrfjprog-js",
"module_path": "./build/Release",
"host": "https://github.com/NordicSemiconductor/pc-nrfjprog-js/releases/download/",
"remote_path": "v{version}"
},
"build": {
"appId": "com.nordicsemi.nrfconnect",
"productName": "nRF Connect",
"npmRebuild": false,
"publish": [
"github"
],
"files": [
"dist/",
"src/main/",
"node_modules/",
"!node_modules/pc-nrfjprog-js/nrfjprog",
"resources/*.html",
"resources/*.png",
"resources/*.ico",
"resources/*.svg",
"resources/mac/"
],
"directories": {
"output": "release"
},
"linux": {
"target": [
"AppImage",
"tar.gz"
],
"artifactName": "${name}-${version}-${arch}.${ext}",
"extraFiles": [
{
"from": "node_modules/pc-nrfjprog-js/nrfjprog",
"to": "nrfjprog",
"filter": "*.so"
}
],
"category": "Development"
},
"afterSign": "build/notarize.js",
"mac": {
"category": "public.app-category.developer-tools",
"artifactName": "${name}-${version}-${os}.${ext}",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"extraFiles": [
{
"from": "node_modules/pc-nrfjprog-js/nrfjprog",
"to": "Frameworks/nrfjprog",
"filter": "*.dylib*"
}
]
},
"dmg": {
"artifactName": "${name}-${version}.${ext}",
"sign": false
},
"win": {
"target": [
"nsis"
],
"extraFiles": [
{
"from": "node_modules/pc-nrfjprog-js/nrfjprog",
"to": "nrfjprog",
"filter": "*.dll"
}
],
"publisherName": "Nordic Semiconductor ASA"
},
"nsis": {
"menuCategory": "Nordic Semiconductor",
"include": "build/installer.nsh",
"artifactName": "${name}-setup-${version}-${env.ARCH}.${ext}"
}
},
"devDependencies": {
"asar": "2.0.1",
"bootstrap": "4.3.1",
"electron": "5.0.6",
"electron-builder": "22.4.1",
"electron-devtools-installer": "2.2.4",
"electron-is-dev": "1.1.0",
"electron-notarize": "0.2.1",
"mini-css-extract-plugin": "0.8.0",
"pc-nrfconnect-shared": "github:NordicSemiconductor/pc-nrfconnect-shared#v4.8.0",
"pc-nrfconnect-build": "git+https://github.com/NordicPlayground/pc-nrfconnect-build.git#semver:0.3.0",
"spectron": "7.0.0",
"tar": "4.4.10",
"util": "0.12.0",
"xvfb-maybe": "0.2.1"
},
"dependencies": {
"@mdi/font": "3.7.95",
"axios": "0.19.0",
"chmodr": "1.2.0",
"create-react-class": "15.6.3",
"electron-log": "3.0.6",
"electron-store": "4.0.0",
"electron-updater": "4.0.14",
"eslint-config-airbnb": "18.1.0",
"eslint-config-airbnb-base": "14.1.0",
"fs-extra": "8.1.0",
"jquery": "3.5.1",
"mousetrap": "1.6.5",
"mustache": "3.0.1",
"nrf-device-setup": "0.6.6",
"pc-ble-driver-js": "2.7.1",
"popper.js": "1.16.1",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-markdown": "4.1.0",
"react-redux": "7.2.0",
"roboto-fontface": "0.10.0",
"shasum": "1.0.2",
"targz": "1.0.1",
"uuid": "3.3.2",
"yargs": "13.2.4"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2)$": "<rootDir>/node_modules/pc-nrfconnect-shared/mocks/fileMock.js",
"\\.(css|scss)$": "<rootDir>/node_modules/pc-nrfconnect-shared/mocks/emptyMock.js",
"electron": "<rootDir>/node_modules/pc-nrfconnect-shared/mocks/electronMock.js",
"pc-nrfjprog-js|nrf-device-lister|nrf-device-setup": "<rootDir>/node_modules/pc-nrfconnect-shared/mocks/emptyMock.js"
},
"transform": {
"^.+\\.jsx?$": [
"babel-jest",
{
"configFile": "./node_modules/pc-nrfconnect-shared/config/babel.config.js"
}
]
},
"transformIgnorePatterns": [
"node_modules/(?!(pc-nrfconnect-shared)/)"
],
"setupFilesAfterEnv": [
"<rootDir>/node_modules/pc-nrfconnect-shared/test/setupTests.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/sniper15/pc-nrfconnect-launcher.git
git@gitee.com:sniper15/pc-nrfconnect-launcher.git
sniper15
pc-nrfconnect-launcher
pc-nrfconnect-launcher
master

Search